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

Unified Diff: third_party/WebKit/Source/bindings/tests/results/core/V8TestException.cpp

Issue 2449043007: [Bindings] Reformat attributes.cpp.tmpl (3/4) (Closed)
Patch Set: Rebase Created 4 years, 2 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/bindings/tests/results/core/V8TestException.cpp
diff --git a/third_party/WebKit/Source/bindings/tests/results/core/V8TestException.cpp b/third_party/WebKit/Source/bindings/tests/results/core/V8TestException.cpp
index 270abf093b8ef68a2807bef8806497d90424808c..f04bc10f053041dfdf10b97ec50e8dfc8b05e91f 100644
--- a/third_party/WebKit/Source/bindings/tests/results/core/V8TestException.cpp
+++ b/third_party/WebKit/Source/bindings/tests/results/core/V8TestException.cpp
@@ -49,32 +49,28 @@ static_assert(
namespace TestExceptionV8Internal {
-static void readonlyUnsignedShortAttributeAttributeGetter(const v8::FunctionCallbackInfo<v8::Value>& info)
-{
- v8::Local<v8::Object> holder = info.Holder();
+static void readonlyUnsignedShortAttributeAttributeGetter(const v8::FunctionCallbackInfo<v8::Value>& info) {
+ v8::Local<v8::Object> holder = info.Holder();
- TestException* impl = V8TestException::toImpl(holder);
+ TestException* impl = V8TestException::toImpl(holder);
- v8SetReturnValueUnsigned(info, impl->readonlyUnsignedShortAttribute());
+ v8SetReturnValueUnsigned(info, impl->readonlyUnsignedShortAttribute());
}
-void readonlyUnsignedShortAttributeAttributeGetterCallback(const v8::FunctionCallbackInfo<v8::Value>& info)
-{
- TestExceptionV8Internal::readonlyUnsignedShortAttributeAttributeGetter(info);
+void readonlyUnsignedShortAttributeAttributeGetterCallback(const v8::FunctionCallbackInfo<v8::Value>& info) {
+ TestExceptionV8Internal::readonlyUnsignedShortAttributeAttributeGetter(info);
}
-static void readonlyStringAttributeAttributeGetter(const v8::FunctionCallbackInfo<v8::Value>& info)
-{
- v8::Local<v8::Object> holder = info.Holder();
+static void readonlyStringAttributeAttributeGetter(const v8::FunctionCallbackInfo<v8::Value>& info) {
+ v8::Local<v8::Object> holder = info.Holder();
- TestException* impl = V8TestException::toImpl(holder);
+ TestException* impl = V8TestException::toImpl(holder);
- v8SetReturnValueString(info, impl->readonlyStringAttribute(), info.GetIsolate());
+ v8SetReturnValueString(info, impl->readonlyStringAttribute(), info.GetIsolate());
}
-void readonlyStringAttributeAttributeGetterCallback(const v8::FunctionCallbackInfo<v8::Value>& info)
-{
- TestExceptionV8Internal::readonlyStringAttributeAttributeGetter(info);
+void readonlyStringAttributeAttributeGetterCallback(const v8::FunctionCallbackInfo<v8::Value>& info) {
+ TestExceptionV8Internal::readonlyStringAttributeAttributeGetter(info);
}
static void toStringMethod(const v8::FunctionCallbackInfo<v8::Value>& info) {

Powered by Google App Engine
This is Rietveld 408576698