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

Unified Diff: content/browser/web_contents/web_contents_view_aura.cc

Issue 10910242: Makes copying layers clone external textures. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Tweaks Created 8 years, 3 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: content/browser/web_contents/web_contents_view_aura.cc
diff --git a/content/browser/web_contents/web_contents_view_aura.cc b/content/browser/web_contents/web_contents_view_aura.cc
index 6efcea69055ddda06f7a2d84a7ff7517565d8f6b..7d19edba5beb58f06ce2011af32432d8f5532227 100644
--- a/content/browser/web_contents/web_contents_view_aura.cc
+++ b/content/browser/web_contents/web_contents_view_aura.cc
@@ -547,6 +547,13 @@ bool WebContentsViewAura::HasHitTestMask() const {
void WebContentsViewAura::GetHitTestMask(gfx::Path* mask) const {
}
+scoped_refptr<ui::Texture> WebContentsViewAura::CopyTexture() {
+ // The layer we create doesn't have an external texture, so this should never
+ // get invoked.
+ NOTREACHED();
+ return scoped_refptr<ui::Texture>();
+}
+
////////////////////////////////////////////////////////////////////////////////
// WebContentsViewAura, ui::EventHandler implementation:

Powered by Google App Engine
This is Rietveld 408576698