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

Unified Diff: public/platform/WebLayerTreeView.h

Issue 276753002: Remove synchronous compositeAndReadback() from WebLayerTreeView. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: public/platform/WebLayerTreeView.h
diff --git a/public/platform/WebLayerTreeView.h b/public/platform/WebLayerTreeView.h
index 5af3f8d04ad0a8e64488a73f090ec6a701483f72..f2b7c5eb7e81c86df91034f4fc15f3b941a7d56d 100644
--- a/public/platform/WebLayerTreeView.h
+++ b/public/platform/WebLayerTreeView.h
@@ -107,14 +107,6 @@ public:
// Relays the end of a fling animation.
virtual void didStopFlinging() { }
- // Composites and attempts to read back the result into the provided
- // buffer. If it wasn't possible, e.g. due to context lost, will return
- // false. Pixel format is 32bit (RGBA), and the provided buffer must be
- // large enough contain viewportSize().width() * viewportSize().height()
- // pixels. The WebLayerTreeView does not assume ownership of the buffer.
- // The buffer is not modified if the false is returned.
- virtual bool compositeAndReadback(void *pixels, const WebRect&) = 0;
-
// The caller is responsible for keeping the WebCompositeAndReadbackAsyncCallback
// object alive until it is called.
virtual void compositeAndReadbackAsync(WebCompositeAndReadbackAsyncCallback*) { }
« 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