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

Side by Side Diff: third_party/WebKit/Source/bindings/core/v8/V8PerIsolateData.cpp

Issue 2577053002: ActiveScriptWrappable: GC wrappers in detached ExecutionContexts. (Closed)
Patch Set: component build fix(msvc) Created 4 years 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
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 373 matching lines...) Expand 10 before | Expand all | Expand 10 after
384 std::unique_ptr<ThreadDebugger> threadDebugger) { 384 std::unique_ptr<ThreadDebugger> threadDebugger) {
385 ASSERT(!m_threadDebugger); 385 ASSERT(!m_threadDebugger);
386 m_threadDebugger = std::move(threadDebugger); 386 m_threadDebugger = std::move(threadDebugger);
387 } 387 }
388 388
389 ThreadDebugger* V8PerIsolateData::threadDebugger() { 389 ThreadDebugger* V8PerIsolateData::threadDebugger() {
390 return m_threadDebugger.get(); 390 return m_threadDebugger.get();
391 } 391 }
392 392
393 void V8PerIsolateData::addActiveScriptWrappable( 393 void V8PerIsolateData::addActiveScriptWrappable(
394 ActiveScriptWrappable* wrappable) { 394 ActiveScriptWrappableBase* wrappable) {
395 if (!m_activeScriptWrappables) 395 if (!m_activeScriptWrappables)
396 m_activeScriptWrappables = new ActiveScriptWrappableSet(); 396 m_activeScriptWrappables = new ActiveScriptWrappableSet();
397 397
398 m_activeScriptWrappables->add(wrappable); 398 m_activeScriptWrappables->add(wrappable);
399 } 399 }
400 400
401 } // namespace blink 401 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698