Ignore address change events

No UI is updated based on this and it was logging
an assertion failed message each time it was called
This commit is contained in:
Kevin Sawicki
2012-06-07 13:47:27 -07:00
parent deaad13fc2
commit b047adff5a

View File

@@ -21,13 +21,7 @@ bool ClientHandler::OnBeforePopup(CefRefPtr<CefBrowser> parentBrowser,
void ClientHandler::OnAddressChange(CefRefPtr<CefBrowser> browser,
CefRefPtr<CefFrame> frame, const CefString& url) {
REQUIRE_UI_THREAD();
if (m_BrowserHwnd == browser->GetWindowHandle() && frame->IsMain()) {
// Set the edit window text
std::string urlStr(url);
gtk_entry_set_text(GTK_ENTRY(m_EditHwnd), urlStr.c_str());
}
//Intentionally left blank
}
void ClientHandler::OnTitleChange(CefRefPtr<CefBrowser> browser,