Index: cc/gl_renderer.h |
diff --git a/cc/gl_renderer.h b/cc/gl_renderer.h |
index e356427fb2e29748a6b4b9d010a4c9ce02dcf904..4bb3d0baf088469f34806cf0ce38f00655f71e9f 100644 |
--- a/cc/gl_renderer.h |
+++ b/cc/gl_renderer.h |
@@ -87,6 +87,9 @@ protected: |
virtual void ensureScissorTestDisabled() OVERRIDE; |
virtual void finishDrawingQuadList() OVERRIDE; |
+public: |
+ void enableScissorForTesting() { ensureScissorTestEnabled(); } |
+ |
private: |
static void toGLMatrix(float*, const gfx::Transform&); |
static ManagedMemoryPolicy::PriorityCutoff priorityCutoff(WebKit::WebGraphicsMemoryAllocation::PriorityCutoff); |