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

Side by Side Diff: Source/WebCore/html/canvas/WebGLContextEvent.cpp

Issue 13814002: First part of work to move V8 binding integrity off of vtables. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 8 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) 2010 Google Inc. All rights reserved. 2 * Copyright (C) 2010 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 7 *
8 * 1. Redistributions of source code must retain the above copyright 8 * 1. Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * 2. Redistributions in binary form must reproduce the above copyright 10 * 2. Redistributions in binary form must reproduce the above copyright
(...skipping 18 matching lines...) Expand all
29 #include "EventNames.h" 29 #include "EventNames.h"
30 30
31 namespace WebCore { 31 namespace WebCore {
32 32
33 WebGLContextEventInit::WebGLContextEventInit() 33 WebGLContextEventInit::WebGLContextEventInit()
34 { 34 {
35 } 35 }
36 36
37 WebGLContextEvent::WebGLContextEvent() 37 WebGLContextEvent::WebGLContextEvent()
38 { 38 {
39 ScriptWrappable::init(this);
39 } 40 }
40 41
41 WebGLContextEvent::WebGLContextEvent(const AtomicString& type, bool canBubble, b ool cancelable, const String& statusMessage) 42 WebGLContextEvent::WebGLContextEvent(const AtomicString& type, bool canBubble, b ool cancelable, const String& statusMessage)
42 : Event(type, canBubble, cancelable) 43 : Event(type, canBubble, cancelable)
43 , m_statusMessage(statusMessage) 44 , m_statusMessage(statusMessage)
44 { 45 {
46 ScriptWrappable::init(this);
45 } 47 }
46 48
47 WebGLContextEvent::WebGLContextEvent(const AtomicString& type, const WebGLContex tEventInit& initializer) 49 WebGLContextEvent::WebGLContextEvent(const AtomicString& type, const WebGLContex tEventInit& initializer)
48 : Event(type, initializer) 50 : Event(type, initializer)
49 , m_statusMessage(initializer.statusMessage) 51 , m_statusMessage(initializer.statusMessage)
50 { 52 {
53 ScriptWrappable::init(this);
51 } 54 }
52 55
53 WebGLContextEvent::~WebGLContextEvent() 56 WebGLContextEvent::~WebGLContextEvent()
54 { 57 {
55 } 58 }
56 59
57 const AtomicString& WebGLContextEvent::interfaceName() const 60 const AtomicString& WebGLContextEvent::interfaceName() const
58 { 61 {
59 return eventNames().interfaceForWebGLContextEvent; 62 return eventNames().interfaceForWebGLContextEvent;
60 } 63 }
61 64
62 } // namespace WebCore 65 } // namespace WebCore
OLDNEW
« no previous file with comments | « Source/WebCore/html/canvas/CanvasRenderingContext2D.cpp ('k') | Source/WebCore/html/canvas/WebGLRenderingContext.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698