Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3030)

Unified Diff: android_webview/native/aw_contents_client_bridge.cc

Issue 2411823002: Remove static_cast<base::MessageLoopForUI*> from aw_contents_client_bridge.cc. (Closed)
Patch Set: Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: android_webview/native/aw_contents_client_bridge.cc
diff --git a/android_webview/native/aw_contents_client_bridge.cc b/android_webview/native/aw_contents_client_bridge.cc
index 76eebf9e0c375332a641b3453de1b597d32f7c1d..059ba3633f5e7a62d3703217dd1dd1c65ee230c2 100644
--- a/android_webview/native/aw_contents_client_bridge.cc
+++ b/android_webview/native/aw_contents_client_bridge.cc
@@ -357,7 +357,7 @@ bool AwContentsClientBridge::ShouldOverrideUrlLoading(const base::string16& url,
// Tell the chromium message loop to not perform any tasks after the current
// one - we want to make sure we return to Java cleanly without first making
// any new JNI calls.
- static_cast<base::MessageLoopForUI*>(base::MessageLoop::current())->Abort();
+ base::MessageLoopForUI::current()->Abort();
// If we crashed we don't want to continue the navigation.
return true;
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698