Changeset 54108 in webkit
- Timestamp:
- Jan 30, 2010 11:38:52 PM (14 years ago)
- Location:
- trunk/WebCore
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/WebCore/ChangeLog
r54107 r54108 1 2010-01-31 Yury Semikhatsky <yurys@chromium.org> 2 3 Reviewed by Pavel Feldman. 4 5 Make ScriptState destructor protected since all non-empty 6 ScriptStates are managed by GC. Remove obsolete constructor. 7 8 https://bugs.webkit.org/show_bug.cgi?id=34266 9 10 * bindings/v8/ScriptState.cpp: 11 * bindings/v8/ScriptState.h: 12 1 13 2010-01-30 Simon Fraser <simon.fraser@apple.com> 2 14 -
trunk/WebCore/bindings/v8/ScriptState.cpp
r54051 r54108 42 42 43 43 namespace WebCore { 44 45 ScriptState::ScriptState(Frame*, v8::Handle<v8::Context> context)46 : m_context(v8::Persistent<v8::Context>::New(context))47 {48 }49 44 50 45 ScriptState::ScriptState(v8::Handle<v8::Context> context) -
trunk/WebCore/bindings/v8/ScriptState.h
r54051 r54108 45 45 class ScriptState : public Noncopyable { 46 46 public: 47 // FIXME: This destructor will become private shortly.48 ~ScriptState();49 // FIXME: This constructor will go away shortly.50 ScriptState(Frame*, v8::Handle<v8::Context>);51 52 47 bool hadException() { return !m_exception.IsEmpty(); } 53 48 void setException(v8::Local<v8::Value> exception) … … 67 62 protected: 68 63 ScriptState() { } 64 ~ScriptState(); 69 65 70 66 private:
Note: See TracChangeset
for help on using the changeset viewer.