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

Unified Diff: ui/compositor/compositor.h

Issue 10873052: Add ifdef guards to prepare for WebLayerTreeView interface change (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebased Created 8 years, 4 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 | ui/compositor/compositor.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/compositor/compositor.h
diff --git a/ui/compositor/compositor.h b/ui/compositor/compositor.h
index 0b83262437149e22104c17ba7a47c0c2a3554d03..619393b9dba4aa6fa3bca913fbed40aef0d18629 100644
--- a/ui/compositor/compositor.h
+++ b/ui/compositor/compositor.h
@@ -241,7 +241,11 @@ class COMPOSITOR_EXPORT Compositor
gfx::AcceleratedWidget widget_;
scoped_ptr<WebKit::WebLayer> root_web_layer_;
+#if defined(WEBLAYERTREEVIEW_IS_PURE_VIRTUAL)
+ scoped_ptr<WebKit::WebLayerTreeView> host_;
+#else
WebKit::WebLayerTreeView host_;
+#endif
// This is set to true when the swap buffers has been posted and we're waiting
// for completion.
« no previous file with comments | « no previous file | ui/compositor/compositor.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698