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

Unified Diff: ui/gfx/compositor/compositor_cc.h

Issue 8889022: Attempt 2 at : Makes tests either use mock compositor or mock (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years 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 | « ui/gfx/compositor/compositor.gyp ('k') | ui/gfx/compositor/compositor_cc.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gfx/compositor/compositor_cc.h
diff --git a/ui/gfx/compositor/compositor_cc.h b/ui/gfx/compositor/compositor_cc.h
index def218110e0aabfcbba7349b2723bd2aa0888351..3216f9e3630ef34ae56df800de0a5b1cb3849905 100644
--- a/ui/gfx/compositor/compositor_cc.h
+++ b/ui/gfx/compositor/compositor_cc.h
@@ -90,10 +90,6 @@ class COMPOSITOR_EXPORT CompositorCC
static void Initialize(bool useThread);
static void Terminate();
- // If necessary enables the test context. If the test context is enabled the
- // compositor does not render anything to screen.
- static void EnableTestContextIfNecessary();
-
protected:
// Compositor implementation.
virtual Texture* CreateTexture() OVERRIDE;
@@ -123,9 +119,6 @@ class COMPOSITOR_EXPORT CompositorCC
WebKit::WebLayer root_web_layer_;
WebKit::WebLayerTreeView host_;
- // See description above SetTestContextEnabled.
- static bool test_context_enabled_;
-
DISALLOW_COPY_AND_ASSIGN(CompositorCC);
};
« no previous file with comments | « ui/gfx/compositor/compositor.gyp ('k') | ui/gfx/compositor/compositor_cc.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698