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

Unified Diff: third_party/WebKit/Source/bindings/tests/results/modules/V8TestInterfacePartial.cpp

Issue 1828973003: Fix indentation in template for [OriginTrialEnabled] (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 4 years, 8 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 | « third_party/WebKit/Source/bindings/tests/results/core/V8TestObject.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/bindings/tests/results/modules/V8TestInterfacePartial.cpp
diff --git a/third_party/WebKit/Source/bindings/tests/results/modules/V8TestInterfacePartial.cpp b/third_party/WebKit/Source/bindings/tests/results/modules/V8TestInterfacePartial.cpp
index 6eb389d89018adc941000c26a2d2e38de67f3192..41999768cab8b7cf9405e1c5787745842178b075 100644
--- a/third_party/WebKit/Source/bindings/tests/results/modules/V8TestInterfacePartial.cpp
+++ b/third_party/WebKit/Source/bindings/tests/results/modules/V8TestInterfacePartial.cpp
@@ -245,11 +245,11 @@ static void partialVoidTestEnumModulesArgMethodMethodCallback(const v8::Function
ExecutionContext* executionContext = currentExecutionContext(info.GetIsolate());
String errorMessage;
if (!OriginTrials::featureNameEnabled(executionContext, errorMessage)) {
- v8SetReturnValue(info, v8::Undefined(info.GetIsolate()));
- if (!errorMessage.isEmpty()) {
- toDocument(executionContext)->addConsoleMessage(ConsoleMessage::create(JSMessageSource, ErrorMessageLevel, errorMessage));
- }
- return;
+ v8SetReturnValue(info, v8::Undefined(info.GetIsolate()));
+ if (!errorMessage.isEmpty()) {
+ toDocument(executionContext)->addConsoleMessage(ConsoleMessage::create(JSMessageSource, ErrorMessageLevel, errorMessage));
+ }
+ return;
}
TestInterfaceImplementationPartialV8Internal::partialVoidTestEnumModulesArgMethodMethod(info);
}
@@ -296,11 +296,11 @@ static void unscopeableVoidMethodMethodCallback(const v8::FunctionCallbackInfo<v
ExecutionContext* executionContext = currentExecutionContext(info.GetIsolate());
String errorMessage;
if (!OriginTrials::featureNameEnabled(executionContext, errorMessage)) {
- v8SetReturnValue(info, v8::Undefined(info.GetIsolate()));
- if (!errorMessage.isEmpty()) {
- toDocument(executionContext)->addConsoleMessage(ConsoleMessage::create(JSMessageSource, ErrorMessageLevel, errorMessage));
- }
- return;
+ v8SetReturnValue(info, v8::Undefined(info.GetIsolate()));
+ if (!errorMessage.isEmpty()) {
+ toDocument(executionContext)->addConsoleMessage(ConsoleMessage::create(JSMessageSource, ErrorMessageLevel, errorMessage));
+ }
+ return;
}
TestInterfaceImplementationPartialV8Internal::unscopeableVoidMethodMethod(info);
}
« no previous file with comments | « third_party/WebKit/Source/bindings/tests/results/core/V8TestObject.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698