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

Side by Side Diff: Source/bindings/tests/results/V8TestSerializedScriptValueInterface.cpp

Issue 14520011: Fix binding integrity check when constructor wrappers are used in place of the actual type wrappers… (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebase. Created 7 years, 7 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 This file is part of the WebKit open source project. 2 This file is part of the WebKit open source project.
3 This file has been generated by generate-bindings.pl. DO NOT MODIFY! 3 This file has been generated by generate-bindings.pl. DO NOT MODIFY!
4 4
5 This library is free software; you can redistribute it and/or 5 This library is free software; you can redistribute it and/or
6 modify it under the terms of the GNU Library General Public 6 modify it under the terms of the GNU Library General Public
7 License as published by the Free Software Foundation; either 7 License as published by the Free Software Foundation; either
8 version 2 of the License, or (at your option) any later version. 8 version 2 of the License, or (at your option) any later version.
9 9
10 This library is distributed in the hope that it will be useful, 10 This library is distributed in the hope that it will be useful,
11 but WITHOUT ANY WARRANTY; without even the implied warranty of 11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 Library General Public License for more details. 13 Library General Public License for more details.
14 14
15 You should have received a copy of the GNU Library General Public License 15 You should have received a copy of the GNU Library General Public License
16 along with this library; see the file COPYING.LIB. If not, write to 16 along with this library; see the file COPYING.LIB. If not, write to
17 the Free Software Foundation, Inc., 59 Temple Place - Suite 330, 17 the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
18 Boston, MA 02111-1307, USA. 18 Boston, MA 02111-1307, USA.
19 */ 19 */
20 20
21 #include "config.h" 21 #include "config.h"
22 #if ENABLE(Condition1) || ENABLE(Condition2) 22 #if ENABLE(Condition1) || ENABLE(Condition2)
23 #include "V8TestSerializedScriptValueInterface.h" 23 #include "V8TestSerializedScriptValueInterface.h"
24 24
25 #include "MessagePort.h"
26 #include "SerializedScriptValue.h"
25 #include "V8MessagePort.h" 27 #include "V8MessagePort.h"
26 #include "bindings/v8/BindingState.h" 28 #include "bindings/v8/BindingState.h"
27 #include "bindings/v8/ScriptController.h" 29 #include "bindings/v8/ScriptController.h"
28 #include "bindings/v8/SerializedScriptValue.h" 30 #include "bindings/v8/SerializedScriptValue.h"
29 #include "bindings/v8/V8Binding.h" 31 #include "bindings/v8/V8Binding.h"
30 #include "bindings/v8/V8DOMWrapper.h" 32 #include "bindings/v8/V8DOMWrapper.h"
31 #include "core/dom/ContextFeatures.h" 33 #include "core/dom/ContextFeatures.h"
32 #include "core/dom/MessagePort.h"
33 #include "core/page/Frame.h" 34 #include "core/page/Frame.h"
34 #include "core/page/RuntimeEnabledFeatures.h" 35 #include "core/page/RuntimeEnabledFeatures.h"
35 #include <wtf/UnusedParam.h> 36 #include <wtf/UnusedParam.h>
36 37
37 #if ENABLE(BINDING_INTEGRITY) 38 #if ENABLE(BINDING_INTEGRITY)
38 #if defined(OS_WIN) 39 #if defined(OS_WIN)
39 #pragma warning(disable: 4483) 40 #pragma warning(disable: 4483)
40 extern "C" { extern void (*const __identifier("??_7TestSerializedScriptValueInte rface@WebCore@@6B@")[])(); } 41 extern "C" { extern void (*const __identifier("??_7TestSerializedScriptValueInte rface@WebCore@@6B@")[])(); }
41 #else 42 #else
42 extern "C" { extern void* _ZTVN7WebCore34TestSerializedScriptValueInterfaceE[]; } 43 extern "C" { extern void* _ZTVN7WebCore34TestSerializedScriptValueInterfaceE[]; }
(...skipping 225 matching lines...) Expand 10 before | Expand all | Expand 10 after
268 return wrapper; 269 return wrapper;
269 } 270 }
270 void V8TestSerializedScriptValueInterface::derefObject(void* object) 271 void V8TestSerializedScriptValueInterface::derefObject(void* object)
271 { 272 {
272 static_cast<TestSerializedScriptValueInterface*>(object)->deref(); 273 static_cast<TestSerializedScriptValueInterface*>(object)->deref();
273 } 274 }
274 275
275 } // namespace WebCore 276 } // namespace WebCore
276 277
277 #endif // ENABLE(Condition1) || ENABLE(Condition2) 278 #endif // ENABLE(Condition1) || ENABLE(Condition2)
OLDNEW
« no previous file with comments | « Source/bindings/tests/results/V8TestSerializedScriptValueInterface.h ('k') | Source/bindings/tests/results/V8TestTypedefs.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698