Chromium Code Reviews| Index: cc/resources/resource_update.h |
| diff --git a/cc/resources/resource_update.h b/cc/resources/resource_update.h |
| index 47bef7da189bc3c492e2919a2a3f76ac5d7c419f..bd34a276ea51dd2a1b59b5aaf20ce9bafce1573a 100644 |
| --- a/cc/resources/resource_update.h |
| +++ b/cc/resources/resource_update.h |
| @@ -1,4 +1,4 @@ |
| -// Copyright 2012 The Chromium Authors. All rights reserved. |
| +// Copyright 2014 The Chromium Authors. All rights reserved. |
| // Use of this source code is governed by a BSD-style license that can be |
| // found in the LICENSE file. |
| @@ -19,23 +19,17 @@ namespace cc { |
| class PrioritizedResource; |
| struct CC_EXPORT ResourceUpdate { |
| - static ResourceUpdate Create(PrioritizedResource* resource, |
| + static ResourceUpdate Create(PrioritizedResource* texture, |
|
danakj
2014/01/08 17:49:59
They should both be named resource rather than bot
enne (OOO)
2014/01/08 17:51:45
Nope. resource != texture. We call this a textur
simonhong
2014/01/09 04:36:25
Done.
|
| const SkBitmap* bitmap, |
| gfx::Rect content_rect, |
| gfx::Rect source_rect, |
| gfx::Vector2d dest_offset); |
| - static ResourceUpdate CreateFromCanvas(PrioritizedResource* resource, |
| - const skia::RefPtr<SkCanvas>& canvas, |
| - gfx::Rect content_rect, |
| - gfx::Rect source_rect, |
| - gfx::Vector2d dest_offset); |
| ResourceUpdate(); |
| virtual ~ResourceUpdate(); |
| PrioritizedResource* texture; |
| const SkBitmap* bitmap; |
| - skia::RefPtr<SkCanvas> canvas; |
| gfx::Rect content_rect; |
| gfx::Rect source_rect; |
| gfx::Vector2d dest_offset; |