Changeset 27275 in webkit for trunk/JavaScriptCore/API/APICast.h


Ignore:
Timestamp:
Oct 30, 2007, 6:01:37 PM (18 years ago)
Author:
kmccullo
Message:

JavaScriptCore:

Reviewed by Adam and Geoff.

  • Added a new cast so all the casts are in the same place.
  • API/APICast.h: (toGlobalRef):

win:

Reviewed by Adam and Geoff.

  • Added the globalContext method so Drosera can ask a WebFrame for its context.
  • Interfaces/IWebFrame.idl:
  • WebFrame.cpp:
  • WebFrame.h:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/API/APICast.h

    r21310 r27275  
    2929
    3030#include "ustring.h"
     31#include "ExecState.h"
    3132
    3233namespace KJS {
     
    106107}
    107108
     109inline JSGlobalContextRef toGlobalRef(KJS::ExecState* e)
     110{
     111    ASSERT(!e->callingExecState());
     112    return reinterpret_cast<JSGlobalContextRef>(e);
     113}
     114
    108115inline JSPropertyNameAccumulatorRef toRef(KJS::PropertyNameArray* l)
    109116{
Note: See TracChangeset for help on using the changeset viewer.