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

Unified Diff: Source/core/css/RGBColor.h

Issue 412183003: bindings: Makes more DOM classes inherit from ScriptWrappable (part 3). (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Reverted RGBColor and Rect. Created 6 years, 5 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/css/MediaQueryList.cpp ('k') | Source/core/css/StyleMedia.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/css/RGBColor.h
diff --git a/Source/core/css/RGBColor.h b/Source/core/css/RGBColor.h
index 23c95a77cd893bf909c0307082a2c3f2550627b7..f2c019bf04addba215e107aeef1bcdaadc6a5791 100644
--- a/Source/core/css/RGBColor.h
+++ b/Source/core/css/RGBColor.h
@@ -33,29 +33,29 @@
namespace blink {
- class CSSPrimitiveValue;
+class CSSPrimitiveValue;
- class RGBColor : public RefCountedWillBeGarbageCollected<RGBColor> {
- public:
- static PassRefPtrWillBeRawPtr<RGBColor> create(unsigned rgbColor);
+class RGBColor : public RefCountedWillBeGarbageCollected<RGBColor> {
+public:
+ static PassRefPtrWillBeRawPtr<RGBColor> create(unsigned rgbColor);
- PassRefPtrWillBeRawPtr<CSSPrimitiveValue> red();
- PassRefPtrWillBeRawPtr<CSSPrimitiveValue> green();
- PassRefPtrWillBeRawPtr<CSSPrimitiveValue> blue();
- PassRefPtrWillBeRawPtr<CSSPrimitiveValue> alpha();
+ PassRefPtrWillBeRawPtr<CSSPrimitiveValue> red();
+ PassRefPtrWillBeRawPtr<CSSPrimitiveValue> green();
+ PassRefPtrWillBeRawPtr<CSSPrimitiveValue> blue();
+ PassRefPtrWillBeRawPtr<CSSPrimitiveValue> alpha();
- Color color() const { return Color(m_rgbColor); }
+ Color color() const { return Color(m_rgbColor); }
- void trace(Visitor*) { }
+ void trace(Visitor*) { }
- private:
- RGBColor(unsigned rgbColor)
- : m_rgbColor(rgbColor)
- {
- }
+private:
+ RGBColor(unsigned rgbColor)
+ : m_rgbColor(rgbColor)
+ {
+ }
- RGBA32 m_rgbColor;
- };
+ RGBA32 m_rgbColor;
+};
} // namespace blink
« no previous file with comments | « Source/core/css/MediaQueryList.cpp ('k') | Source/core/css/StyleMedia.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698