Index: cc/output/output_surface.h |
diff --git a/cc/output/output_surface.h b/cc/output/output_surface.h |
index 8ebf01c3c728bb13de9d784b1c6f084477f8edb0..e8d6fe3b3e4b9a033f3c4662b39f58e4143f1b47 100644 |
--- a/cc/output/output_surface.h |
+++ b/cc/output/output_surface.h |
@@ -66,6 +66,11 @@ class CC_EXPORT OutputSurface { |
return software_device_.get(); |
} |
+ // In the case where both the context3d and software_device are present |
+ // (namely Android WebView), this is called to determine whether the software |
+ // device should be used on the current frame. |
+ virtual bool ForcedDrawToSoftwareDevice() const; |
+ |
// Called by the compositor on the compositor thread. This is a place where |
// thread-specific data for the output surface can be initialized, since from |
// this point on the output surface will only be used on the compositor |