OLD | NEW |
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 Loading... |
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 |
OLD | NEW |