[Windows, others] Unreviewed build fix after r150090.
authorbfulgham@apple.com <bfulgham@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 15 May 2013 01:20:12 +0000 (01:20 +0000)
committerbfulgham@apple.com <bfulgham@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 15 May 2013 01:20:12 +0000 (01:20 +0000)
* DumpRenderTree/TestRunner.cpp:
(getSecureEventInputIsEnabledCallback): IsSecureEventInputEnabled
doesn't exist on other platforms.

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

Tools/ChangeLog
Tools/DumpRenderTree/TestRunner.cpp

index 85435fc..f3ff0cc 100644 (file)
@@ -1,3 +1,11 @@
+2013-05-14  Brent Fulgham  <bfulgham@apple.com>
+
+        [Windows, others] Unreviewed build fix after r150090.
+
+        * DumpRenderTree/TestRunner.cpp:
+        (getSecureEventInputIsEnabledCallback): IsSecureEventInputEnabled
+        doesn't exist on other platforms.
+
 2013-05-14  Brent Fulgham  <bfulgham@webkit.org>
 
         [Windows] Expunge pthreads2VC.dll from DumpRenderTree Project
index f6172c8..b546343 100644 (file)
@@ -1840,7 +1840,11 @@ static JSValueRef getPlatformNameCallback(JSContextRef context, JSObjectRef this
 
 static JSValueRef getSecureEventInputIsEnabledCallback(JSContextRef context, JSObjectRef thisObject, JSStringRef propertyName, JSValueRef* exception)
 {
+#if PLATFORM(MAC)
     return JSValueMakeBoolean(context, IsSecureEventInputEnabled());
+#else
+    return JSValueMakeBoolean(context, false);
+#endif
 }
 
 static JSValueRef getTitleTextDirectionCallback(JSContextRef context, JSObjectRef thisObject, JSStringRef propertyName, JSValueRef* exception)