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

Side by Side Diff: Source/WebCore/Modules/indexeddb/IDBVersionChangeEvent.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) 2011 Google Inc. All rights reserved. 2 * Copyright (C) 2011 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 23 matching lines...) Expand all
34 PassRefPtr<IDBVersionChangeEvent> IDBVersionChangeEvent::create(PassRefPtr<IDBAn y> oldVersion, PassRefPtr<IDBAny> newVersion, const AtomicString& eventType) 34 PassRefPtr<IDBVersionChangeEvent> IDBVersionChangeEvent::create(PassRefPtr<IDBAn y> oldVersion, PassRefPtr<IDBAny> newVersion, const AtomicString& eventType)
35 { 35 {
36 return adoptRef(new IDBVersionChangeEvent(oldVersion, newVersion, eventType) ); 36 return adoptRef(new IDBVersionChangeEvent(oldVersion, newVersion, eventType) );
37 } 37 }
38 38
39 IDBVersionChangeEvent::IDBVersionChangeEvent(PassRefPtr<IDBAny> oldVersion, Pass RefPtr<IDBAny> newVersion, const AtomicString& eventType) 39 IDBVersionChangeEvent::IDBVersionChangeEvent(PassRefPtr<IDBAny> oldVersion, Pass RefPtr<IDBAny> newVersion, const AtomicString& eventType)
40 : Event(eventType, false /*canBubble*/, false /*cancelable*/) 40 : Event(eventType, false /*canBubble*/, false /*cancelable*/)
41 , m_oldVersion(oldVersion) 41 , m_oldVersion(oldVersion)
42 , m_newVersion(newVersion) 42 , m_newVersion(newVersion)
43 { 43 {
44 ScriptWrappable::init(this);
44 } 45 }
45 46
46 IDBVersionChangeEvent::~IDBVersionChangeEvent() 47 IDBVersionChangeEvent::~IDBVersionChangeEvent()
47 { 48 {
48 } 49 }
49 50
50 const AtomicString& IDBVersionChangeEvent::interfaceName() const 51 const AtomicString& IDBVersionChangeEvent::interfaceName() const
51 { 52 {
52 return eventNames().interfaceForIDBVersionChangeEvent; 53 return eventNames().interfaceForIDBVersionChangeEvent;
53 } 54 }
54 55
55 } // namespace WebCore 56 } // namespace WebCore
OLDNEW
« no previous file with comments | « Source/WebCore/Modules/indexeddb/IDBTransaction.cpp ('k') | Source/WebCore/Modules/mediastream/MediaStreamEvent.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698