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

Unified Diff: third_party/WebKit/Source/web/WebPerformance.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/web/WebPerformance.cpp
diff --git a/third_party/WebKit/Source/web/WebPerformance.cpp b/third_party/WebKit/Source/web/WebPerformance.cpp
index baeb02c2f1b8d43c9dadf499609be88184a5c3bb..eca3b0bfd2c738d07946e3d523e0219345fa4f35 100644
--- a/third_party/WebKit/Source/web/WebPerformance.cpp
+++ b/third_party/WebKit/Source/web/WebPerformance.cpp
@@ -52,13 +52,13 @@ void WebPerformance::assign(const WebPerformance& other)
WebNavigationType WebPerformance::navigationType() const
{
switch (m_private->navigation()->type()) {
- case PerformanceNavigation::TYPE_NAVIGATE:
+ case PerformanceNavigation::kTypeNavigate:
return WebNavigationTypeOther;
- case PerformanceNavigation::TYPE_RELOAD:
+ case PerformanceNavigation::kTypeReload:
return WebNavigationTypeReload;
- case PerformanceNavigation::TYPE_BACK_FORWARD:
+ case PerformanceNavigation::kTypeBackForward:
return WebNavigationTypeBackForward;
- case PerformanceNavigation::TYPE_RESERVED:
+ case PerformanceNavigation::kTypeReserved:
return WebNavigationTypeOther;
}
NOTREACHED();
« no previous file with comments | « third_party/WebKit/Source/web/WebNode.cpp ('k') | third_party/WebKit/Source/web/tests/WebInputEventConversionTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698