Changeset 51927 in webkit
- Timestamp:
- Dec 9, 2009 2:54:17 PM (14 years ago)
- Location:
- trunk/WebCore
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/WebCore/ChangeLog
r51926 r51927 1 2009-12-09 Steve Block <steveblock@google.com> 2 3 Reviewed by Darin Adler. 4 5 Adds ENABLE(INSPECTOR) guards around script binding methods that use types 6 defined only when INSPECTOR is enabled. 7 https://bugs.webkit.org/show_bug.cgi?id=32328 8 9 Build fix only, no new tests. 10 11 * bindings/js/ScriptValue.cpp: Modified. Added ENABLE(INSPECTOR) guard to ScriptValue::quarantineValue. 12 * bindings/v8/ScriptObject.cpp: Modified. Added ENABLE(INSPECTOR) guard to some overloads of ScriptGlobalObject::set. 13 1 14 2009-12-09 Steve Block <steveblock@google.com> 2 15 -
trunk/WebCore/bindings/js/ScriptValue.cpp
r51801 r51927 43 43 namespace WebCore { 44 44 45 #if ENABLE(INSPECTOR) 45 46 ScriptValue ScriptValue::quarantineValue(ScriptState* scriptState, const ScriptValue& value) 46 47 { … … 48 49 return ScriptValue(JSInspectedObjectWrapper::wrap(scriptState, value.jsValue())); 49 50 } 51 #endif 50 52 51 53 bool ScriptValue::getString(ScriptState* scriptState, String& result) const -
trunk/WebCore/bindings/v8/ScriptObject.cpp
r51528 r51927 141 141 } 142 142 143 #if ENABLE(INSPECTOR) 143 144 bool ScriptGlobalObject::set(ScriptState* scriptState, const char* name, InspectorBackend* value) 144 145 { … … 161 162 return scope.success(); 162 163 } 164 #endif 163 165 164 166 bool ScriptGlobalObject::get(ScriptState* scriptState, const char* name, ScriptObject& value)
Note: See TracChangeset
for help on using the changeset viewer.