Title: [90956] trunk/Source/WebCore
Revision
90956
Author
[email protected]
Date
2011-07-13 15:27:39 -0700 (Wed, 13 Jul 2011)

Log Message

2011-07-13  Vitaly Repeshko  <[email protected]>

        [chromium] Fix mac build after r90949.

        * bindings/v8/V8HiddenPropertyName.cpp:
        (WebCore::V8HiddenPropertyName::hiddenReferenceName):
        * bindings/v8/custom/V8WebGLRenderingContextCustom.cpp:
        (WebCore::toV8Object):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (90955 => 90956)


--- trunk/Source/WebCore/ChangeLog	2011-07-13 22:24:30 UTC (rev 90955)
+++ trunk/Source/WebCore/ChangeLog	2011-07-13 22:27:39 UTC (rev 90956)
@@ -1,3 +1,12 @@
+2011-07-13  Vitaly Repeshko  <[email protected]>
+
+        [chromium] Fix mac build after r90949.
+
+        * bindings/v8/V8HiddenPropertyName.cpp:
+        (WebCore::V8HiddenPropertyName::hiddenReferenceName):
+        * bindings/v8/custom/V8WebGLRenderingContextCustom.cpp:
+        (WebCore::toV8Object):
+
 2011-07-13  Emil A Eklund  <[email protected]>
 
         Switch table rendering to to new layout types

Modified: trunk/Source/WebCore/bindings/v8/V8HiddenPropertyName.cpp (90955 => 90956)


--- trunk/Source/WebCore/bindings/v8/V8HiddenPropertyName.cpp	2011-07-13 22:24:30 UTC (rev 90955)
+++ trunk/Source/WebCore/bindings/v8/V8HiddenPropertyName.cpp	2011-07-13 22:27:39 UTC (rev 90956)
@@ -54,6 +54,7 @@
 {
     Vector<char, 64> prefixedName;
     prefixedName.append(hiddenReferenceNamePrefix, sizeof(hiddenReferenceNamePrefix) - 1);
+    ASSERT(name && strlen(name));
     prefixedName.append(name, strlen(name));
     return v8::String::NewSymbol(prefixedName.data(), static_cast<int>(prefixedName.size()));
 }

Modified: trunk/Source/WebCore/bindings/v8/custom/V8WebGLRenderingContextCustom.cpp (90955 => 90956)


--- trunk/Source/WebCore/bindings/v8/custom/V8WebGLRenderingContextCustom.cpp	2011-07-13 22:24:30 UTC (rev 90955)
+++ trunk/Source/WebCore/bindings/v8/custom/V8WebGLRenderingContextCustom.cpp	2011-07-13 22:27:39 UTC (rev 90956)
@@ -161,7 +161,7 @@
     if (!extension)
         return v8::Null();
     v8::Handle<v8::Value> extensionObject;
-    const char* referenceName;
+    const char* referenceName = 0;
     switch (extension->getName()) {
     case WebGLExtension::WebKitLoseContextName:
         extensionObject = toV8(static_cast<WebKitLoseContext*>(extension));
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to