diff options
Diffstat (limited to 'android_webview/browser')
3 files changed, 5 insertions, 4 deletions
diff --git a/android_webview/browser/aw_form_database_service_unittest.cc b/android_webview/browser/aw_form_database_service_unittest.cc index e269a62..6f8e410 100644 --- a/android_webview/browser/aw_form_database_service_unittest.cc +++ b/android_webview/browser/aw_form_database_service_unittest.cc @@ -49,7 +49,7 @@ class AwFormDatabaseServiceTest : public Test { // The path to the temporary directory used for the test operations. base::ScopedTempDir temp_dir_; // A message loop for UI thread. - MessageLoop message_loop_; + base::MessageLoop message_loop_; content::TestBrowserThread ui_thread_; content::TestBrowserThread db_thread_; JNIEnv* env_; diff --git a/android_webview/browser/in_process_renderer/in_process_renderer_client.cc b/android_webview/browser/in_process_renderer/in_process_renderer_client.cc index 631a58c..20392ab 100644 --- a/android_webview/browser/in_process_renderer/in_process_renderer_client.cc +++ b/android_webview/browser/in_process_renderer/in_process_renderer_client.cc @@ -29,8 +29,9 @@ int GetInProcessRendererId() { } -MessageLoop* InProcessRendererClient::OverrideCompositorMessageLoop() const { - MessageLoop* rv = content::BrowserThread::UnsafeGetMessageLoopForThread( +base::MessageLoop* InProcessRendererClient::OverrideCompositorMessageLoop() + const { + base::MessageLoop* rv = content::BrowserThread::UnsafeGetMessageLoopForThread( content::BrowserThread::UI); DCHECK(rv); return rv; diff --git a/android_webview/browser/in_process_renderer/in_process_view_renderer.cc b/android_webview/browser/in_process_renderer/in_process_view_renderer.cc index 0121f11..553835c 100644 --- a/android_webview/browser/in_process_renderer/in_process_view_renderer.cc +++ b/android_webview/browser/in_process_renderer/in_process_view_renderer.cc @@ -574,7 +574,7 @@ void InProcessViewRenderer::Invalidate() { void InProcessViewRenderer::EnsureContinuousInvalidation() { if (continuous_invalidate_ && !continuous_invalidate_task_pending_) { - MessageLoop::current()->PostTask(FROM_HERE, + base::MessageLoop::current()->PostTask(FROM_HERE, base::Bind(&InProcessViewRenderer::Invalidate, weak_factory_.GetWeakPtr())); continuous_invalidate_task_pending_ = true; |