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

Unified Diff: third_party/WebKit/Source/core/css/CSSValuePair.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/CSSValuePair.h
diff --git a/third_party/WebKit/Source/core/css/CSSValuePair.h b/third_party/WebKit/Source/core/css/CSSValuePair.h
index dc9053915bc5856695d70d3e50b095d381d6fa44..694f8f704402905ae2051335e5317ed0d6dc0a6f 100644
--- a/third_party/WebKit/Source/core/css/CSSValuePair.h
+++ b/third_party/WebKit/Source/core/css/CSSValuePair.h
@@ -47,6 +47,8 @@ public:
return adoptRefWillBeNoop(new CSSValuePair(CSSPrimitiveValue::create(lengthSize.width(), style.effectiveZoom()), CSSPrimitiveValue::create(lengthSize.height(), style.effectiveZoom()), KeepIdenticalValues));
}
+ static PassRefPtrWillBeRawPtr<CSSValuePair> deserializeAfterDispatch(CSSDeserializeStream*);
+
// TODO(sashab): Remove these non-const versions.
CSSValue& first() { return *m_first; }
CSSValue& second() { return *m_second; }
@@ -69,6 +71,7 @@ public:
&& compareCSSValuePtr(m_second, other.m_second);
}
+ void serializeAfterDispatch(CSSSerializeStream*) const;
DECLARE_TRACE_AFTER_DISPATCH();
private:
« no previous file with comments | « third_party/WebKit/Source/core/css/CSSValueList.cpp ('k') | third_party/WebKit/Source/core/css/CSSValuePair.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698