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

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

Issue 2315923002: Lazy Parse CSS (Closed)
Patch Set: CL for src perf tryjob to run page_cycler_v2.typical_25 benchmark on all-android platform(s) Created 4 years, 3 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/StylePropertySet.h
diff --git a/third_party/WebKit/Source/core/css/StylePropertySet.h b/third_party/WebKit/Source/core/css/StylePropertySet.h
index 7d4e19aaa55bcc3d51d5f3fc06af2d2891294047..159aa65b34954ee9bbd5d222634a81d0dfae8469 100644
--- a/third_party/WebKit/Source/core/css/StylePropertySet.h
+++ b/third_party/WebKit/Source/core/css/StylePropertySet.h
@@ -44,7 +44,6 @@ class CORE_EXPORT StylePropertySet : public GarbageCollectedFinalized<StylePrope
WTF_MAKE_NONCOPYABLE(StylePropertySet);
friend class PropertyReference;
public:
-
void finalizeGarbageCollectedObject();
class PropertyReference {
@@ -148,6 +147,9 @@ protected:
friend class PropertySetCSSStyleDeclaration;
};
+// Used for lazily parsing properties.
+typedef Function<StylePropertySet*(), WTF::SameThreadAffinity> DeferredPropertiesClosure;
+
class CORE_EXPORT ImmutableStylePropertySet : public StylePropertySet {
public:
~ImmutableStylePropertySet();
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/css/StyleRule.h » ('j') | third_party/WebKit/Source/core/css/StyleRule.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698