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

Unified Diff: cc/layers/ui_resource_layer.h

Issue 664173002: Prevent recreation of UI resource holder when created with resource ID (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: added NeedsCreation Created 6 years, 2 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 | cc/layers/ui_resource_layer.cc » ('j') | cc/layers/ui_resource_layer.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/layers/ui_resource_layer.h
diff --git a/cc/layers/ui_resource_layer.h b/cc/layers/ui_resource_layer.h
index e22318c208777bbbb97e7695a282384c86831125..089ac91ce7edb3fbede76db2292ca70fd397a7c7 100644
--- a/cc/layers/ui_resource_layer.h
+++ b/cc/layers/ui_resource_layer.h
@@ -43,6 +43,7 @@ class CC_EXPORT UIResourceLayer : public Layer {
public:
virtual UIResourceId id() = 0;
virtual ~UIResourceHolder();
+ virtual bool NeedsRecreation();
};
protected:
« no previous file with comments | « no previous file | cc/layers/ui_resource_layer.cc » ('j') | cc/layers/ui_resource_layer.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698