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

Unified Diff: Source/core/html/HTMLLinkElement.cpp

Issue 653223002: Navigation transitions (web to native app): Revert exit transition (Blink side) (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: review fix Created 6 years 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/html/HTMLLinkElement.h ('k') | Source/core/loader/DocumentLoader.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/HTMLLinkElement.cpp
diff --git a/Source/core/html/HTMLLinkElement.cpp b/Source/core/html/HTMLLinkElement.cpp
index f6db5df2720afed152bd35efcbc46d2006485534..23533d96600b404417eae1926789bc48424e1755 100644
--- a/Source/core/html/HTMLLinkElement.cpp
+++ b/Source/core/html/HTMLLinkElement.cpp
@@ -251,11 +251,11 @@ void HTMLLinkElement::process()
link->process();
}
-void HTMLLinkElement::enableIfExitTransitionStyle()
+void HTMLLinkElement::setEnabledIfExitTransitionStyle(bool enabled)
{
if (m_relAttribute.isTransitionExitingStylesheet()) {
if (LinkStyle* link = linkStyle())
- link->setDisabledState(false);
+ link->setDisabledState(!enabled);
}
}
« no previous file with comments | « Source/core/html/HTMLLinkElement.h ('k') | Source/core/loader/DocumentLoader.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698