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

Side by Side Diff: Source/bindings/core/v8/V8PerIsolateData.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.h ('k') | Source/modules/indexeddb/IDBTransaction.cpp » ('j') | 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) 2009 Google Inc. All rights reserved. 2 * Copyright (C) 2009 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 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 241 matching lines...) Expand 10 before | Expand all | Expand 10 after
252 void V8PerIsolateData::addEndOfScopeTask(PassOwnPtr<EndOfScopeTask> task) 252 void V8PerIsolateData::addEndOfScopeTask(PassOwnPtr<EndOfScopeTask> task)
253 { 253 {
254 m_endOfScopeTasks.append(task); 254 m_endOfScopeTasks.append(task);
255 } 255 }
256 256
257 void V8PerIsolateData::runEndOfScopeTasks() 257 void V8PerIsolateData::runEndOfScopeTasks()
258 { 258 {
259 Vector<OwnPtr<EndOfScopeTask>> tasks; 259 Vector<OwnPtr<EndOfScopeTask>> tasks;
260 tasks.swap(m_endOfScopeTasks); 260 tasks.swap(m_endOfScopeTasks);
261 for (const auto& task : tasks) 261 for (const auto& task : tasks)
262 task->Run(); 262 task->run();
263 ASSERT(m_endOfScopeTasks.isEmpty()); 263 ASSERT(m_endOfScopeTasks.isEmpty());
264 } 264 }
265 265
266 void V8PerIsolateData::clearEndOfScopeTasks() 266 void V8PerIsolateData::clearEndOfScopeTasks()
267 { 267 {
268 m_endOfScopeTasks.clear(); 268 m_endOfScopeTasks.clear();
269 } 269 }
270 270
271 } // namespace blink 271 } // namespace blink
OLDNEW
« no previous file with comments | « Source/bindings/core/v8/V8PerIsolateData.h ('k') | Source/modules/indexeddb/IDBTransaction.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698