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

Side by Side Diff: Source/WebCore/Modules/indexeddb/IDBCursor.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_direction(direction) 77 , m_direction(direction)
78 , m_source(source) 78 , m_source(source)
79 , m_transaction(transaction) 79 , m_transaction(transaction)
80 , m_transactionNotifier(transaction, this) 80 , m_transactionNotifier(transaction, this)
81 , m_gotValue(false) 81 , m_gotValue(false)
82 { 82 {
83 ASSERT(m_backend); 83 ASSERT(m_backend);
84 ASSERT(m_request); 84 ASSERT(m_request);
85 ASSERT(m_source->type() == IDBAny::IDBObjectStoreType || m_source->type() == IDBAny::IDBIndexType); 85 ASSERT(m_source->type() == IDBAny::IDBObjectStoreType || m_source->type() == IDBAny::IDBIndexType);
86 ASSERT(m_transaction); 86 ASSERT(m_transaction);
87 ScriptWrappable::init(this);
87 } 88 }
88 89
89 IDBCursor::~IDBCursor() 90 IDBCursor::~IDBCursor()
90 { 91 {
91 } 92 }
92 93
93 const String& IDBCursor::direction() const 94 const String& IDBCursor::direction() const
94 { 95 {
95 IDB_TRACE("IDBCursor::direction"); 96 IDB_TRACE("IDBCursor::direction");
96 return directionToString(m_direction); 97 return directionToString(m_direction);
(...skipping 228 matching lines...) Expand 10 before | Expand all | Expand 10 after
325 case IndexedDB::CursorPrevNoDuplicate: 326 case IndexedDB::CursorPrevNoDuplicate:
326 return IDBCursor::directionPrevUnique(); 327 return IDBCursor::directionPrevUnique();
327 328
328 default: 329 default:
329 ASSERT_NOT_REACHED(); 330 ASSERT_NOT_REACHED();
330 return IDBCursor::directionNext(); 331 return IDBCursor::directionNext();
331 } 332 }
332 } 333 }
333 334
334 } // namespace WebCore 335 } // namespace WebCore
OLDNEW
« no previous file with comments | « Source/WebCore/Modules/indexeddb/IDBAny.cpp ('k') | Source/WebCore/Modules/indexeddb/IDBCursorWithValue.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698