Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(108)

Side by Side Diff: third_party/WebKit/WebCore/bindings/js/ScriptController.cpp

Issue 39293: WebKit merge 41447:41498 [third_party/WebKit] (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: remove CRLF Created 11 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 /* 1 /*
2 * Copyright (C) 1999-2001 Harri Porten (porten@kde.org) 2 * Copyright (C) 1999-2001 Harri Porten (porten@kde.org)
3 * Copyright (C) 2001 Peter Kelly (pmk@post.com) 3 * Copyright (C) 2001 Peter Kelly (pmk@post.com)
4 * Copyright (C) 2006, 2007, 2008 Apple Inc. All rights reserved. 4 * Copyright (C) 2006, 2007, 2008 Apple Inc. All rights reserved.
5 * 5 *
6 * This library is free software; you can redistribute it and/or 6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Lesser General Public 7 * modify it under the terms of the GNU Lesser General Public
8 * License as published by the Free Software Foundation; either 8 * License as published by the Free Software Foundation; either
9 * version 2 of the License, or (at your option) any later version. 9 * version 2 of the License, or (at your option) any later version.
10 * 10 *
(...skipping 27 matching lines...) Expand all
38 #include "PageGroup.h" 38 #include "PageGroup.h"
39 #include "runtime_root.h" 39 #include "runtime_root.h"
40 #include "ScriptSourceCode.h" 40 #include "ScriptSourceCode.h"
41 #include "ScriptValue.h" 41 #include "ScriptValue.h"
42 #include "Settings.h" 42 #include "Settings.h"
43 43
44 #include <runtime/Completion.h> 44 #include <runtime/Completion.h>
45 #include <debugger/Debugger.h> 45 #include <debugger/Debugger.h>
46 #include <runtime/JSLock.h> 46 #include <runtime/JSLock.h>
47 47
48 #if ENABLE(NETSCAPE_PLUGIN_API)
49 #include "HTMLPlugInElement.h" 48 #include "HTMLPlugInElement.h"
50 #endif
51 49
52 using namespace JSC; 50 using namespace JSC;
53 51
54 namespace WebCore { 52 namespace WebCore {
55 53
56 ScriptController::ScriptController(Frame* frame) 54 ScriptController::ScriptController(Frame* frame)
57 : m_frame(frame) 55 : m_frame(frame)
58 , m_handlerLineno(0) 56 , m_handlerLineno(0)
59 , m_sourceURL(0) 57 , m_sourceURL(0)
60 , m_processingTimerCallback(false) 58 , m_processingTimerCallback(false)
(...skipping 323 matching lines...) Expand 10 before | Expand all | Expand 10 after
384 // Call _NPN_DeallocateObject() instead of _NPN_ReleaseObject() so that we don't leak if a plugin fails to release the window 382 // Call _NPN_DeallocateObject() instead of _NPN_ReleaseObject() so that we don't leak if a plugin fails to release the window
385 // script object properly. 383 // script object properly.
386 // This shouldn't cause any problems for plugins since they should have already been stopped and destroyed at this point. 384 // This shouldn't cause any problems for plugins since they should have already been stopped and destroyed at this point.
387 _NPN_DeallocateObject(m_windowScriptNPObject); 385 _NPN_DeallocateObject(m_windowScriptNPObject);
388 m_windowScriptNPObject = 0; 386 m_windowScriptNPObject = 0;
389 } 387 }
390 #endif 388 #endif
391 } 389 }
392 390
393 } // namespace WebCore 391 } // namespace WebCore
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698