Fix the Chromium build.
authorweinig@apple.com <weinig@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 28 Apr 2012 22:33:50 +0000 (22:33 +0000)
committerweinig@apple.com <weinig@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 28 Apr 2012 22:33:50 +0000 (22:33 +0000)
* bindings/v8/custom/V8BlobCustom.cpp:
(WebCore::V8Blob::constructorCallback):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@115583 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/WebCore/ChangeLog
Source/WebCore/bindings/v8/custom/V8BlobCustom.cpp

index 912fb88..d4fbd22 100644 (file)
@@ -1,3 +1,10 @@
+2012-04-28  Sam Weinig  <sam@webkit.org>
+
+        Fix the Chromium build.
+
+        * bindings/v8/custom/V8BlobCustom.cpp:
+        (WebCore::V8Blob::constructorCallback):
+
 2012-04-27  Sam Weinig  <sam@webkit.org>
 
         Add support for the Blob constructor
index d2f2a2c..fd25dfd 100644 (file)
@@ -68,7 +68,7 @@ v8::Handle<v8::Value> V8Blob::constructorCallback(const v8::Arguments& args)
     if (!context)
         return throwError("Blob constructor associated document is unavailable", V8Proxy::ReferenceError);
 
-    if (!args.Length())
+    if (!args.Length()) {
         RefPtr<Blob> blob = Blob::create();
         return toV8(blob.get(), args.GetIsolate());
     }