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

Unified Diff: Source/core/css/resolver/StyleResolverParentScope.cpp

Issue 102273004: Defer pushing the parent stack in recalcStyle until StyleResolver::styleForElement() (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase Created 6 years, 9 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/resolver/StyleResolverParentScope.h ('k') | Source/core/dom/Element.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/css/resolver/StyleResolverParentScope.cpp
diff --git a/Source/core/css/Pair.cpp b/Source/core/css/resolver/StyleResolverParentScope.cpp
similarity index 57%
copy from Source/core/css/Pair.cpp
copy to Source/core/css/resolver/StyleResolverParentScope.cpp
index 5362b6b52747f321f8c880c5518db518edd0230f..bde3a362aed64146b76b1b703260b6e6605bdfa7 100644
--- a/Source/core/css/Pair.cpp
+++ b/Source/core/css/resolver/StyleResolverParentScope.cpp
@@ -3,14 +3,11 @@
// found in the LICENSE file.
#include "config.h"
-#include "core/css/Pair.h"
+
+#include "core/css/resolver/StyleResolverParentScope.h"
namespace WebCore {
-void Pair::trace(Visitor* visitor)
-{
- visitor->trace(m_first);
- visitor->trace(m_second);
-}
+StyleResolverParentScope* StyleResolverParentScope::s_currentScope = 0;
-}
+} // namespace WebCore
« no previous file with comments | « Source/core/css/resolver/StyleResolverParentScope.h ('k') | Source/core/dom/Element.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698