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

Unified Diff: public/web/WebWidget.h

Issue 263253002: Make WebWidget::compositeAndReadbackAsync() return void. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: voidcompositeAndReadbackAsync: void Created 6 years, 7 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 | « Source/web/WebViewImpl.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: public/web/WebWidget.h
diff --git a/public/web/WebWidget.h b/public/web/WebWidget.h
index 456e20e8508fef75b2dbfec3cdc8e433d45bedac..6681ed6b25880d19111d170b2806fcf67d6d0912 100644
--- a/public/web/WebWidget.h
+++ b/public/web/WebWidget.h
@@ -125,8 +125,9 @@ public:
virtual void paintCompositedDeprecated(WebCanvas*, const WebRect&) { }
// The caller is responsible for keeping the WebCompositeAndReadbackAsyncCallback
- // object alive until it is called.
- virtual bool compositeAndReadbackAsync(WebCompositeAndReadbackAsyncCallback*) { return false; }
+ // object alive until it is called. This should only be called when
+ // isAcceleratedCompositingActive() is true.
+ virtual void compositeAndReadbackAsync(WebCompositeAndReadbackAsyncCallback*) { }
// Returns true if we've started tracking repaint rectangles.
virtual bool isTrackingRepaints() const { return false; }
« no previous file with comments | « Source/web/WebViewImpl.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698