| Index: cc/layers/tiled_layer.cc
|
| diff --git a/cc/layers/tiled_layer.cc b/cc/layers/tiled_layer.cc
|
| index c1937e49f7e51693ed1e52f1d4f44fd98977c0b7..4a960a84f5261e2b4ff0fb4db8c079fb9f181dfa 100644
|
| --- a/cc/layers/tiled_layer.cc
|
| +++ b/cc/layers/tiled_layer.cc
|
| @@ -10,6 +10,7 @@
|
| #include "base/auto_reset.h"
|
| #include "base/basictypes.h"
|
| #include "build/build_config.h"
|
| +#include "cc/base/simple_enclosed_region.h"
|
| #include "cc/layers/layer_impl.h"
|
| #include "cc/layers/tiled_layer_impl.h"
|
| #include "cc/resources/layer_updater.h"
|
| @@ -639,11 +640,11 @@ void TiledLayer::SetTexturePriorities(const PriorityCalculator& priority_calc) {
|
| }
|
| }
|
|
|
| -Region TiledLayer::VisibleContentOpaqueRegion() const {
|
| +SimpleEnclosedRegion TiledLayer::VisibleContentOpaqueRegion() const {
|
| if (skips_draw_)
|
| - return Region();
|
| + return SimpleEnclosedRegion();
|
| if (contents_opaque())
|
| - return visible_content_rect();
|
| + return SimpleEnclosedRegion(visible_content_rect());
|
| return tiler_->OpaqueRegionInContentRect(visible_content_rect());
|
| }
|
|
|
|
|