| Index: Source/core/css/CSSShaderValue.h
|
| diff --git a/Source/core/css/WebKitCSSShaderValue.h b/Source/core/css/CSSShaderValue.h
|
| similarity index 76%
|
| rename from Source/core/css/WebKitCSSShaderValue.h
|
| rename to Source/core/css/CSSShaderValue.h
|
| index 773eb6e101054f135b47d80d0936f443fe6acfe8..07387cf1e2616ffbef5faaad2debaf55fa5db3a8 100644
|
| --- a/Source/core/css/WebKitCSSShaderValue.h
|
| +++ b/Source/core/css/CSSShaderValue.h
|
| @@ -27,8 +27,8 @@
|
| * SUCH DAMAGE.
|
| */
|
|
|
| -#ifndef WebKitCSSShaderValue_h
|
| -#define WebKitCSSShaderValue_h
|
| +#ifndef CSSShaderValue_h
|
| +#define CSSShaderValue_h
|
|
|
| #include "core/css/CSSValue.h"
|
|
|
| @@ -39,10 +39,10 @@ class KURL;
|
| class StyleCachedShader;
|
| class StyleShader;
|
|
|
| -class WebKitCSSShaderValue : public CSSValue {
|
| +class CSSShaderValue : public CSSValue {
|
| public:
|
| - static PassRefPtr<WebKitCSSShaderValue> create(const String& url) { return adoptRef(new WebKitCSSShaderValue(url)); }
|
| - ~WebKitCSSShaderValue();
|
| + static PassRefPtr<CSSShaderValue> create(const String& url) { return adoptRef(new CSSShaderValue(url)); }
|
| + ~CSSShaderValue();
|
|
|
| const String& format() const { return m_format; }
|
| void setFormat(const String& format) { m_format = format; }
|
| @@ -53,12 +53,12 @@ public:
|
|
|
| String customCssText() const;
|
|
|
| - bool equals(const WebKitCSSShaderValue&) const;
|
| + bool equals(const CSSShaderValue&) const;
|
|
|
| void reportDescendantMemoryUsage(MemoryObjectInfo*) const;
|
|
|
| private:
|
| - WebKitCSSShaderValue(const String& url);
|
| + CSSShaderValue(const String& url);
|
|
|
| String m_url;
|
| String m_format;
|
| @@ -67,14 +67,14 @@ private:
|
| };
|
|
|
| // This will catch anyone doing an unnecessary cast.
|
| -WebKitCSSShaderValue* toWebKitCSSShaderValue(const WebKitCSSShaderValue*);
|
| +CSSShaderValue* toCSSShaderValue(const CSSShaderValue*);
|
|
|
| -inline WebKitCSSShaderValue* toWebKitCSSShaderValue(CSSValue* value)
|
| +inline CSSShaderValue* toCSSShaderValue(CSSValue* value)
|
| {
|
| - return value->isWebKitCSSShaderValue() ? static_cast<WebKitCSSShaderValue*>(value) : 0;
|
| + return value->isCSSShaderValue() ? static_cast<CSSShaderValue*>(value) : 0;
|
| }
|
|
|
| } // namespace WebCore
|
|
|
|
|
| -#endif // WebKitCSSShaderValue_h
|
| +#endif // CSSShaderValue_h
|
|
|