summaryrefslogtreecommitdiffstats
path: root/chromium/cc/debug/traced_picture.h
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/cc/debug/traced_picture.h')
-rw-r--r--chromium/cc/debug/traced_picture.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/chromium/cc/debug/traced_picture.h b/chromium/cc/debug/traced_picture.h
index cc212ceed82..638f00bb7dd 100644
--- a/chromium/cc/debug/traced_picture.h
+++ b/chromium/cc/debug/traced_picture.h
@@ -15,13 +15,13 @@ namespace cc {
class TracedPicture : public base::debug::ConvertableToTraceFormat {
public:
- explicit TracedPicture(scoped_refptr<Picture>);
+ explicit TracedPicture(scoped_refptr<const Picture>);
static scoped_refptr<base::debug::ConvertableToTraceFormat>
- AsTraceablePicture(Picture* picture);
+ AsTraceablePicture(const Picture* picture);
static scoped_refptr<base::debug::ConvertableToTraceFormat>
- AsTraceablePictureAlias(Picture* original);
+ AsTraceablePictureAlias(const Picture* original);
virtual void AppendAsTraceFormat(std::string* out) const OVERRIDE;
@@ -31,7 +31,7 @@ class TracedPicture : public base::debug::ConvertableToTraceFormat {
void AppendPicture(std::string* out) const;
void AppendPictureAlias(std::string* out) const;
- scoped_refptr<Picture> picture_;
+ scoped_refptr<const Picture> picture_;
bool is_alias_;
DISALLOW_COPY_AND_ASSIGN(TracedPicture);