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

Unified Diff: third_party/WebKit/Source/core/timing/PerformanceNavigation.cpp

Issue 2068053002: Rename Blink constants generated from IDL files. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 4 years, 4 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/timing/PerformanceNavigation.cpp
diff --git a/third_party/WebKit/Source/core/timing/PerformanceNavigation.cpp b/third_party/WebKit/Source/core/timing/PerformanceNavigation.cpp
index ba2aca5a5fc392056489bf990d58a6975b593d77..1fd51f9beeb897d9736d597c350dbc1133175d97 100644
--- a/third_party/WebKit/Source/core/timing/PerformanceNavigation.cpp
+++ b/third_party/WebKit/Source/core/timing/PerformanceNavigation.cpp
@@ -44,19 +44,19 @@ PerformanceNavigation::PerformanceNavigation(LocalFrame* frame)
unsigned short PerformanceNavigation::type() const
{
if (!m_frame)
- return TYPE_NAVIGATE;
+ return kTypeNavigate;
DocumentLoader* documentLoader = m_frame->loader().documentLoader();
if (!documentLoader)
- return TYPE_NAVIGATE;
+ return kTypeNavigate;
switch (documentLoader->getNavigationType()) {
case NavigationTypeReload:
- return TYPE_RELOAD;
+ return kTypeReload;
case NavigationTypeBackForward:
- return TYPE_BACK_FORWARD;
+ return kTypeBackForward;
default:
- return TYPE_NAVIGATE;
+ return kTypeNavigate;
}
}
« no previous file with comments | « third_party/WebKit/Source/core/timing/PerformanceNavigation.h ('k') | third_party/WebKit/Source/core/xml/DocumentXSLT.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698