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

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

Issue 23444051: Move the content-dependent RecreateLayer logic from aura::Window to RWHVA (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix linux_aura Created 7 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 13d14f7ecc87b1ce8ca140466d862c5da35e4529..47c7beab04f69802fc18e8672126f70f5cfad78d 100644
--- a/content/browser/web_contents/web_contents_view_aura.cc
+++ b/content/browser/web_contents/web_contents_view_aura.cc
@@ -1536,11 +1536,10 @@ 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>();
+void WebContentsViewAura::DidRecreateLayer(ui::Layer *old_layer,
+ ui::Layer *new_layer) {
+ // The layer we create doesn't have an external texture, so we don't need to
+ // do anything.
}
////////////////////////////////////////////////////////////////////////////////

Powered by Google App Engine
This is Rietveld 408576698