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

Unified Diff: Source/bindings/v8/V8PerContextData.cpp

Issue 20294002: Fix trailing whitespace in .cpp, .h, and .idl files (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebased Created 7 years, 5 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 | « Source/bindings/v8/V8ObjectConstructor.cpp ('k') | Source/bindings/v8/V8PerIsolateData.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/bindings/v8/V8PerContextData.cpp
diff --git a/Source/bindings/v8/V8PerContextData.cpp b/Source/bindings/v8/V8PerContextData.cpp
index c2edd8d4e55be2084afc37e5cfa7bf25347a8c38..9edbdbc299907e6a9befacc78437f4abd60cbee6 100644
--- a/Source/bindings/v8/V8PerContextData.cpp
+++ b/Source/bindings/v8/V8PerContextData.cpp
@@ -152,13 +152,13 @@ CustomElementBinding* V8PerContextData::customElementBinding(CustomElementDefini
}
-static v8::Handle<v8::Value> createDebugData(const char* worldName, int debugId)
+static v8::Handle<v8::Value> createDebugData(const char* worldName, int debugId)
{
char buffer[32];
unsigned wanted;
if (debugId == -1)
wanted = snprintf(buffer, sizeof(buffer), "%s", worldName);
- else
+ else
wanted = snprintf(buffer, sizeof(buffer), "%s,%d", worldName, debugId);
if (wanted < sizeof(buffer))
@@ -179,7 +179,7 @@ static void setDebugData(v8::Handle<v8::Context> context, v8::Handle<v8::Value>
context->SetEmbedderData(v8ContextDebugIdIndex, value);
}
-bool V8PerContextDebugData::setContextDebugData(v8::Handle<v8::Context> context, const char* worldName, int debugId)
+bool V8PerContextDebugData::setContextDebugData(v8::Handle<v8::Context> context, const char* worldName, int debugId)
{
if (!debugData(context)->IsUndefined())
return false;
@@ -189,7 +189,7 @@ bool V8PerContextDebugData::setContextDebugData(v8::Handle<v8::Context> context,
return true;
}
-int V8PerContextDebugData::contextDebugId(v8::Handle<v8::Context> context)
+int V8PerContextDebugData::contextDebugId(v8::Handle<v8::Context> context)
{
v8::HandleScope scope;
v8::Handle<v8::Value> data = debugData(context);
« no previous file with comments | « Source/bindings/v8/V8ObjectConstructor.cpp ('k') | Source/bindings/v8/V8PerIsolateData.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698