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

Unified Diff: third_party/WebKit/Source/core/css/CSSInheritedValue.h

Issue 1481383002: [Experimental] CSSSerializer Proof-of-concept Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: snapshot: top_25 sites ser/dser now works Created 4 years, 11 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
Index: third_party/WebKit/Source/core/css/CSSInheritedValue.h
diff --git a/third_party/WebKit/Source/core/css/CSSInheritedValue.h b/third_party/WebKit/Source/core/css/CSSInheritedValue.h
index 9bdc467f4d7341d8f515af91940378e00bd7a144..0c47b3cdcb054bc8d3726d9b0c297c77bb9790fc 100644
--- a/third_party/WebKit/Source/core/css/CSSInheritedValue.h
+++ b/third_party/WebKit/Source/core/css/CSSInheritedValue.h
@@ -32,11 +32,16 @@ public:
{
return adoptRefWillBeNoop(new CSSInheritedValue);
}
+ static PassRefPtrWillBeRawPtr<CSSInheritedValue> deserializeAfterDispatch(CSSDeserializeStream*)
+ {
+ return create();
+ }
String customCSSText() const;
bool equals(const CSSInheritedValue&) const { return true; }
+ void serializeAfterDispatch(CSSSerializeStream*) const {}
DEFINE_INLINE_TRACE_AFTER_DISPATCH() { CSSValue::traceAfterDispatch(visitor); }
private:
« no previous file with comments | « third_party/WebKit/Source/core/css/CSSImageValue.cpp ('k') | third_party/WebKit/Source/core/css/CSSInitialValue.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698