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

Side by Side Diff: Source/WebCore/Modules/indexeddb/IDBRequest.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 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
77 , m_taskType(taskType) 77 , m_taskType(taskType)
78 , m_hasPendingActivity(true) 78 , m_hasPendingActivity(true)
79 , m_cursorType(IndexedDB::CursorKeyAndValue) 79 , m_cursorType(IndexedDB::CursorKeyAndValue)
80 , m_cursorDirection(IndexedDB::CursorNext) 80 , m_cursorDirection(IndexedDB::CursorNext)
81 , m_cursorFinished(false) 81 , m_cursorFinished(false)
82 , m_pendingCursor(0) 82 , m_pendingCursor(0)
83 , m_didFireUpgradeNeededEvent(false) 83 , m_didFireUpgradeNeededEvent(false)
84 , m_preventPropagation(false) 84 , m_preventPropagation(false)
85 , m_requestState(context) 85 , m_requestState(context)
86 { 86 {
87 ScriptWrappable::init(this);
87 } 88 }
88 89
89 IDBRequest::~IDBRequest() 90 IDBRequest::~IDBRequest()
90 { 91 {
91 ASSERT(m_readyState == DONE || m_readyState == EarlyDeath || !scriptExecutio nContext()); 92 ASSERT(m_readyState == DONE || m_readyState == EarlyDeath || !scriptExecutio nContext());
92 } 93 }
93 94
94 PassRefPtr<IDBAny> IDBRequest::result(ExceptionCode& ec) const 95 PassRefPtr<IDBAny> IDBRequest::result(ExceptionCode& ec) const
95 { 96 {
96 if (m_readyState != DONE) { 97 if (m_readyState != DONE) {
(...skipping 464 matching lines...) Expand 10 before | Expand all | Expand 10 after
561 { 562 {
562 return &m_eventTargetData; 563 return &m_eventTargetData;
563 } 564 }
564 565
565 EventTargetData* IDBRequest::ensureEventTargetData() 566 EventTargetData* IDBRequest::ensureEventTargetData()
566 { 567 {
567 return &m_eventTargetData; 568 return &m_eventTargetData;
568 } 569 }
569 570
570 } // namespace WebCore 571 } // namespace WebCore
OLDNEW
« no previous file with comments | « Source/WebCore/Modules/indexeddb/IDBOpenDBRequest.cpp ('k') | Source/WebCore/Modules/indexeddb/IDBTransaction.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698