1. 02 Oct, 2009 1 commit
    • eric@webkit.org's avatar
      2009-10-02 Dave MacLachlan <dmaclach@gmail.com> · 28e2b6e1
      eric@webkit.org authored
              Reviewed by David Levin.
      
              Clean up warnings in WebCore/bindings/v8/npruntime.cpp
              https://bugs.webkit.org/show_bug.cgi?id=29971
      
              Gets rid of warnings on gcc about using anonymous namespaces
                warning: 'StringKeyHashTraits' has a base
                'WTF::GenericHashTraits<<unnamed>::StringKey>'
                whose type uses the anonymous namespace
              and
                warning: 'WTF::PairHashTraits<StringKeyHashTraits,
                WTF::HashTraits<PrivateIdentifier*> >' has a base
                'WTF::GenericHashTraits<std::pair<<unnamed>::StringKey,
                PrivateIdentifier*> >' whose type uses the anonymous namespace
      
              No tests required.
      
              * bindings/v8/npruntime.cpp:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@49011 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      28e2b6e1
  2. 10 Aug, 2009 1 commit
    • jorlow@chromium.org's avatar
      2009-08-10 Jeremy Orlow <jorlow@chromium.org> · 6061b045
      jorlow@chromium.org authored
              Reviewed by Eric Seidel.
      
              Renamed all V8 NPN_ functions to _NPN_ to match JSC and make them "private".
              https://bugs.webkit.org/show_bug.cgi?id=28089
      
              Rename all the NPN_foo functions to _NPN_foo so that they can't directly be
              called by mistake.  This roughly matches the way JSC does it, which is an
              additional advantage.
      
              * bindings/v8/NPV8Object.cpp:
              (npCreateV8ScriptObject):
              (_NPN_Invoke):
              (_NPN_InvokeDefault):
              (_NPN_Evaluate):
              (_NPN_EvaluateHelper):
              (_NPN_GetProperty):
              (_NPN_SetProperty):
              (_NPN_RemoveProperty):
              (_NPN_HasProperty):
              (_NPN_HasMethod):
              (_NPN_SetException):
              (_NPN_Enumerate):
              (_NPN_Construct):
              * bindings/v8/ScriptController.cpp:
              (WebCore::ScriptController::clearScriptObjects):
              (WebCore::ScriptController::createScriptInstanceForWidget):
              (WebCore::ScriptController::cleanupScriptObjectsForPlugin):
              * bindings/v8/V8NPObject.cpp:
              (npObjectInvokeImpl):
              (npObjectGetProperty):
              (npObjectIndexedPropertyGetter):
              (npObjectGetIndexedProperty):
              (npObjectSetProperty):
              (npObjectIndexedPropertySetter):
              (npObjectSetIndexedProperty):
              (weakNPObjectCallback):
              (createV8ObjectForNPObject):
              (forgetV8ObjectForNPObject):
              * bindings/v8/V8NPUtils.cpp:
              (getStringIdentifier):
              * bindings/v8/npruntime.cpp:
              * bindings/v8/npruntime_impl.h:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@47021 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      6061b045
  3. 08 Jul, 2009 1 commit