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

Unified Diff: Source/core/css/CSSDefaultStyleSheets.cpp

Issue 1140153006: Remove Navigation Transitions from Blink. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Removed layout tests. Created 5 years, 7 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/CSSDefaultStyleSheets.h ('k') | Source/core/css/navigationTransitions.css » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/css/CSSDefaultStyleSheets.cpp
diff --git a/Source/core/css/CSSDefaultStyleSheets.cpp b/Source/core/css/CSSDefaultStyleSheets.cpp
index a3915988c51be8f496f4f97760ceba30dcab0f29..1a7a5653924e54395c4eafd8d9db4cae2c67bfbc 100644
--- a/Source/core/css/CSSDefaultStyleSheets.cpp
+++ b/Source/core/css/CSSDefaultStyleSheets.cpp
@@ -79,7 +79,6 @@ CSSDefaultStyleSheets::CSSDefaultStyleSheets()
, m_defaultPrintStyle(nullptr)
, m_defaultViewSourceStyle(nullptr)
, m_defaultXHTMLMobileProfileStyle(nullptr)
- , m_defaultTransitionStyle(nullptr)
, m_defaultStyleSheet(nullptr)
, m_mobileViewportStyleSheet(nullptr)
, m_quirksStyleSheet(nullptr)
@@ -115,17 +114,6 @@ RuleSet* CSSDefaultStyleSheets::defaultViewSourceStyle()
return m_defaultViewSourceStyle.get();
}
-RuleSet* CSSDefaultStyleSheets::defaultTransitionStyle()
-{
- if (!m_defaultTransitionStyle) {
- m_defaultTransitionStyle = RuleSet::create();
- // Loaded stylesheet is leaked on purpose.
- RefPtrWillBeRawPtr<StyleSheetContents> stylesheet = parseUASheet(loadResourceAsASCIIString("navigationTransitions.css"));
- m_defaultTransitionStyle->addRulesFromSheet(stylesheet.release().leakRef(), screenEval());
- }
- return m_defaultTransitionStyle.get();
-}
-
RuleSet* CSSDefaultStyleSheets::defaultXHTMLMobileProfileStyle()
{
if (!m_defaultXHTMLMobileProfileStyle) {
@@ -197,7 +185,6 @@ DEFINE_TRACE(CSSDefaultStyleSheets)
visitor->trace(m_defaultPrintStyle);
visitor->trace(m_defaultViewSourceStyle);
visitor->trace(m_defaultXHTMLMobileProfileStyle);
- visitor->trace(m_defaultTransitionStyle);
visitor->trace(m_defaultStyleSheet);
visitor->trace(m_mobileViewportStyleSheet);
visitor->trace(m_quirksStyleSheet);
« no previous file with comments | « Source/core/css/CSSDefaultStyleSheets.h ('k') | Source/core/css/navigationTransitions.css » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698