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

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

Issue 182063004: Rename adoptRefCountedWillBeRefCountedGarbageCollected to adoptRefWillBeRefCountedGarbageCollected (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 10 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/CSSCharsetRule.h » ('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 19 matching lines...) Expand all
30 #include "core/html/HTMLCanvasElement.h" 30 #include "core/html/HTMLCanvasElement.h"
31 31
32 namespace WebCore { 32 namespace WebCore {
33 33
34 class Document; 34 class Document;
35 35
36 class CSSCanvasValue : public CSSImageGeneratorValue { 36 class CSSCanvasValue : public CSSImageGeneratorValue {
37 public: 37 public:
38 static PassRefPtrWillBeRawPtr<CSSCanvasValue> create(const String& name) 38 static PassRefPtrWillBeRawPtr<CSSCanvasValue> create(const String& name)
39 { 39 {
40 return adoptRefCountedWillBeRefCountedGarbageCollected(new CSSCanvasValu e(name)); 40 return adoptRefWillBeRefCountedGarbageCollected(new CSSCanvasValue(name) );
41 } 41 }
42 ~CSSCanvasValue(); 42 ~CSSCanvasValue();
43 43
44 String customCSSText() const; 44 String customCSSText() const;
45 45
46 PassRefPtr<Image> image(RenderObject*, const IntSize&); 46 PassRefPtr<Image> image(RenderObject*, const IntSize&);
47 bool isFixedSize() const { return true; } 47 bool isFixedSize() const { return true; }
48 IntSize fixedSize(const RenderObject*); 48 IntSize fixedSize(const RenderObject*);
49 49
50 bool isPending() const { return false; } 50 bool isPending() const { return false; }
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
97 String m_name; 97 String m_name;
98 // The document supplies the element and owns it. 98 // The document supplies the element and owns it.
99 HTMLCanvasElement* m_element; 99 HTMLCanvasElement* m_element;
100 }; 100 };
101 101
102 DEFINE_CSS_VALUE_TYPE_CASTS(CSSCanvasValue, isCanvasValue()); 102 DEFINE_CSS_VALUE_TYPE_CASTS(CSSCanvasValue, isCanvasValue());
103 103
104 } // namespace WebCore 104 } // namespace WebCore
105 105
106 #endif // CSSCanvasValue_h 106 #endif // CSSCanvasValue_h
OLDNEW
« no previous file with comments | « Source/core/css/CSSCalculationValue.cpp ('k') | Source/core/css/CSSCharsetRule.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698