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

Unified Diff: webkit/compositor_bindings/web_layer_impl.cc

Issue 12902002: Remove WebVideoFrame, WebVideoFrameProvider, and WebVideoLayer. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 9 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: webkit/compositor_bindings/web_layer_impl.cc
diff --git a/webkit/compositor_bindings/web_layer_impl.cc b/webkit/compositor_bindings/web_layer_impl.cc
index 7adb2f10ec8e02181ef5c78e7af5ca3352cd6486..0d145c9ceb23195bde74d9f14e45fbfdb3276efc 100644
--- a/webkit/compositor_bindings/web_layer_impl.cc
+++ b/webkit/compositor_bindings/web_layer_impl.cc
@@ -326,4 +326,6 @@ void WebLayerImpl::setScrollClient(
Layer* WebLayerImpl::layer() const { return layer_.get(); }
+bool WebLayerImpl::isOrphan() const { return !layer_->layer_tree_host(); }
scherkus (not reviewing) 2013/03/18 21:38:24 q: 1) is layer_ guaranteed to be non-null? OR
danakj 2013/03/18 21:57:59 yes layer_ is not null. it is set to a valid point
scherkus (not reviewing) 2013/03/18 23:34:18 ah! thanks for the explanation
+
} // namespace WebKit

Powered by Google App Engine
This is Rietveld 408576698