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

Unified Diff: content/browser/renderer_host/render_widget_host_view_android.cc

Issue 2536223003: Refactor ContentViewClient (3/6) (Closed)
Patch Set: removed getDesiredMeasureSpec Created 4 years 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
Index: content/browser/renderer_host/render_widget_host_view_android.cc
diff --git a/content/browser/renderer_host/render_widget_host_view_android.cc b/content/browser/renderer_host/render_widget_host_view_android.cc
index 981dc1e25c1d669152ca2d4b6cb1ba79b43a038b..f2aec8ba3d992756817e69a92568e0c82cbda962 100644
--- a/content/browser/renderer_host/render_widget_host_view_android.cc
+++ b/content/browser/renderer_host/render_widget_host_view_android.cc
@@ -794,8 +794,7 @@ void RenderWidgetHostViewAndroid::UpdateBackgroundColor(SkColor color) {
if (delegated_frame_host_)
delegated_frame_host_->UpdateBackgroundColor(color);
- if (content_view_core_)
- content_view_core_->OnBackgroundColorChanged(color);
+ view_.OnBackgroundColorChanged(color);
}
void RenderWidgetHostViewAndroid::SetNeedsBeginFrames(bool needs_begin_frames) {

Powered by Google App Engine
This is Rietveld 408576698