| Index: cc/tiles/tile_draw_info.h
|
| diff --git a/cc/tiles/tile_draw_info.h b/cc/tiles/tile_draw_info.h
|
| index 9ba8f24fb4287ce206f08f3e4879c4f78c7fbfa9..e11da9cbdcf28b7dfe093b291dbdf2b22afdb736 100644
|
| --- a/cc/tiles/tile_draw_info.h
|
| +++ b/cc/tiles/tile_draw_info.h
|
| @@ -65,10 +65,7 @@ class CC_EXPORT TileDrawInfo {
|
| return solid_color_;
|
| }
|
|
|
| - bool contents_swizzled() const {
|
| - DCHECK(resource_);
|
| - return !PlatformColor::SameComponentOrder(resource_->format());
|
| - }
|
| + bool contents_swizzled() const { return contents_swizzled_; }
|
|
|
| bool requires_resource() const {
|
| return mode_ == RESOURCE_MODE || mode_ == OOM_MODE;
|
| @@ -99,6 +96,7 @@ class CC_EXPORT TileDrawInfo {
|
| Mode mode_;
|
| SkColor solid_color_;
|
| scoped_ptr<ScopedResource> resource_;
|
| + bool contents_swizzled_;
|
| };
|
|
|
| } // namespace cc
|
|
|