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

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

Issue 2701993002: DO NOT COMMIT: Results of running new (proposed) clang-format on Blink (Closed)
Patch Set: Created 3 years, 10 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/PerformanceUserTiming.cpp
diff --git a/third_party/WebKit/Source/core/timing/PerformanceUserTiming.cpp b/third_party/WebKit/Source/core/timing/PerformanceUserTiming.cpp
index 81b6c4fa1a5c10ecf12732586eee59b775cc8151..1d24228d774f52329ba70d116fa755df2d50d096 100644
--- a/third_party/WebKit/Source/core/timing/PerformanceUserTiming.cpp
+++ b/third_party/WebKit/Source/core/timing/PerformanceUserTiming.cpp
@@ -108,9 +108,10 @@ PerformanceEntry* UserTiming::mark(const String& markName,
ExceptionState& exceptionState) {
if (restrictedKeyMap().contains(markName)) {
exceptionState.throwDOMException(
- SyntaxError, "'" + markName +
- "' is part of the PerformanceTiming interface, and "
- "cannot be used as a mark name.");
+ SyntaxError,
+ "'" + markName +
+ "' is part of the PerformanceTiming interface, and "
+ "cannot be used as a mark name.");
return nullptr;
}
@@ -139,10 +140,11 @@ double UserTiming::findExistingMarkStartTime(const String& markName,
(m_performance->timing()->*(restrictedKeyMap().get(markName)))());
if (!value) {
exceptionState.throwDOMException(
- InvalidAccessError, "'" + markName +
- "' is empty: either the event hasn't "
- "happened yet, or it would provide "
- "cross-origin timing information.");
+ InvalidAccessError,
+ "'" + markName +
+ "' is empty: either the event hasn't "
+ "happened yet, or it would provide "
+ "cross-origin timing information.");
return 0.0;
}
return value - m_performance->timing()->navigationStart();

Powered by Google App Engine
This is Rietveld 408576698