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

Side by Side Diff: Source/modules/indexeddb/IDBTransaction.cpp

Issue 724953002: Use Blink-style method casing for EndOfScopeTask::run() (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 1 month 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
« no previous file with comments | « Source/bindings/core/v8/V8PerIsolateData.cpp ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
61 61
62 namespace { 62 namespace {
63 63
64 class DeactivateTransactionTask : public V8PerIsolateData::EndOfScopeTask { 64 class DeactivateTransactionTask : public V8PerIsolateData::EndOfScopeTask {
65 public: 65 public:
66 static PassOwnPtr<DeactivateTransactionTask> create(IDBTransaction* transact ion) 66 static PassOwnPtr<DeactivateTransactionTask> create(IDBTransaction* transact ion)
67 { 67 {
68 return adoptPtr(new DeactivateTransactionTask(transaction)); 68 return adoptPtr(new DeactivateTransactionTask(transaction));
69 } 69 }
70 70
71 void Run() override 71 void run() override
72 { 72 {
73 m_transaction->setActive(false); 73 m_transaction->setActive(false);
74 m_transaction.clear(); 74 m_transaction.clear();
75 } 75 }
76 76
77 private: 77 private:
78 explicit DeactivateTransactionTask(IDBTransaction* transaction) 78 explicit DeactivateTransactionTask(IDBTransaction* transaction)
79 : m_transaction(transaction) { } 79 : m_transaction(transaction) { }
80 80
81 Persistent<IDBTransaction> m_transaction; 81 Persistent<IDBTransaction> m_transaction;
(...skipping 312 matching lines...) Expand 10 before | Expand all | Expand 10 after
394 event->setTarget(this); 394 event->setTarget(this);
395 eventQueue->enqueueEvent(event); 395 eventQueue->enqueueEvent(event);
396 } 396 }
397 397
398 WebIDBDatabase* IDBTransaction::backendDB() const 398 WebIDBDatabase* IDBTransaction::backendDB() const
399 { 399 {
400 return m_database->backend(); 400 return m_database->backend();
401 } 401 }
402 402
403 } // namespace blink 403 } // namespace blink
OLDNEW
« no previous file with comments | « Source/bindings/core/v8/V8PerIsolateData.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698