Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(187)

Side by Side Diff: Source/core/css/CSSCanvasValue.h

Issue 13973026: remove memoryinstrumentation Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: remove the rest part of MemoryInstrumentation Created 7 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « Source/core/css/CSSCalculationValue.cpp ('k') | Source/core/css/CSSCanvasValue.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2008 Apple Inc. All rights reserved. 2 * Copyright (C) 2008 Apple Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
42 42
43 PassRefPtr<Image> image(RenderObject*, const IntSize&); 43 PassRefPtr<Image> image(RenderObject*, const IntSize&);
44 bool isFixedSize() const { return true; } 44 bool isFixedSize() const { return true; }
45 IntSize fixedSize(const RenderObject*); 45 IntSize fixedSize(const RenderObject*);
46 46
47 bool isPending() const { return false; } 47 bool isPending() const { return false; }
48 void loadSubimages(CachedResourceLoader*) { } 48 void loadSubimages(CachedResourceLoader*) { }
49 49
50 bool equals(const CSSCanvasValue&) const; 50 bool equals(const CSSCanvasValue&) const;
51 51
52 void reportDescendantMemoryUsage(MemoryObjectInfo*) const;
53
54 private: 52 private:
55 CSSCanvasValue(const String& name) 53 CSSCanvasValue(const String& name)
56 : CSSImageGeneratorValue(CanvasClass) 54 : CSSImageGeneratorValue(CanvasClass)
57 , m_canvasObserver(this) 55 , m_canvasObserver(this)
58 , m_name(name) 56 , m_name(name)
59 , m_element(0) 57 , m_element(0)
60 { 58 {
61 } 59 }
62 60
63 // NOTE: We put the CanvasObserver in a member instead of inheriting from it 61 // NOTE: We put the CanvasObserver in a member instead of inheriting from it
(...skipping 28 matching lines...) Expand all
92 90
93 // The name of the canvas. 91 // The name of the canvas.
94 String m_name; 92 String m_name;
95 // The document supplies the element and owns it. 93 // The document supplies the element and owns it.
96 HTMLCanvasElement* m_element; 94 HTMLCanvasElement* m_element;
97 }; 95 };
98 96
99 } // namespace WebCore 97 } // namespace WebCore
100 98
101 #endif // CSSCanvasValue_h 99 #endif // CSSCanvasValue_h
OLDNEW
« no previous file with comments | « Source/core/css/CSSCalculationValue.cpp ('k') | Source/core/css/CSSCanvasValue.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698