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

Unified Diff: android_webview/browser/browser_view_renderer.h

Issue 269913002: aw: Fix invalidate getting lost (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 8 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
Index: android_webview/browser/browser_view_renderer.h
diff --git a/android_webview/browser/browser_view_renderer.h b/android_webview/browser/browser_view_renderer.h
index 184364478067ffbbf79b495ea6cab2cb7d0eb69e..991075f3acf6e6cb35619cdfa437b821ec00a0ee 100644
--- a/android_webview/browser/browser_view_renderer.h
+++ b/android_webview/browser/browser_view_renderer.h
@@ -207,9 +207,6 @@ class BrowserViewRenderer : public content::SynchronousCompositorClient,
DrawGLInput draw_gl_input_;
- // TODO(boliu): This is a short term solution to support
- // SynchronousCompositorClient methods called on non-UI thread.
- base::Lock scroll_offset_dip_lock_;
// Current scroll offset in CSS pixels.
gfx::Vector2dF scroll_offset_dip_;
@@ -228,6 +225,12 @@ class BrowserViewRenderer : public content::SynchronousCompositorClient,
size_t num_tiles_;
size_t num_bytes_;
+ // TODO(boliu): This is a short term solution to support
+ // SynchronousCompositorClient methods called on RenderThread. This is only
+ // used on data that must be modified immediately instead of being posted
+ // back to UI.
+ base::Lock render_thread_lock_;
+
DISALLOW_COPY_AND_ASSIGN(BrowserViewRenderer);
};
« no previous file with comments | « no previous file | android_webview/browser/browser_view_renderer.cc » ('j') | android_webview/browser/browser_view_renderer.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698