Index: cc/layers/picture_layer_impl.h |
diff --git a/cc/layers/picture_layer_impl.h b/cc/layers/picture_layer_impl.h |
index 8e4f24a5fd50fd36f86bdb60529eb52f3bd354bd..3ccbd0da2f38b078234acd22a99f643655d976dc 100644 |
--- a/cc/layers/picture_layer_impl.h |
+++ b/cc/layers/picture_layer_impl.h |
@@ -128,8 +128,8 @@ class CC_EXPORT PictureLayerImpl |
virtual void RunMicroBenchmark(MicroBenchmarkImpl* benchmark) OVERRIDE; |
- void SetHasGpuRasterizationHint(bool has_hint); |
- bool ShouldUseGpuRasterization() const; |
+ void SetUseGpuRasterization(bool use_gpu); |
+ bool ShouldUseGpuRasterization() const { return use_gpu_rasterization_; } |
// Functions used by tile manager. |
void DidUnregisterLayer(); |
@@ -206,8 +206,8 @@ class CC_EXPORT PictureLayerImpl |
// A sanity state check to make sure UpdateTilePriorities only gets called |
// after a CalculateContentsScale/ManageTilings. |
bool should_update_tile_priorities_; |
- bool has_gpu_rasterization_hint_; |
bool should_use_low_res_tiling_; |
+ bool use_gpu_rasterization_; |
bool layer_needs_to_register_itself_; |