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

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

Issue 1278983003: Adding allocator annotations to blink classes and structs. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fixed patch conflict Created 5 years, 4 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
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 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
73 // This can happen if V8 has added counters that this version of Blink 73 // This can happen if V8 has added counters that this version of Blink
74 // does not know about. It's harmless. 74 // does not know about. It's harmless.
75 break; 75 break;
76 } 76 }
77 } 77 }
78 78
79 V8PerIsolateData::V8PerIsolateData() 79 V8PerIsolateData::V8PerIsolateData()
80 : m_destructionPending(false) 80 : m_destructionPending(false)
81 , m_isolateHolder(adoptPtr(new gin::IsolateHolder())) 81 , m_isolateHolder(adoptPtr(new gin::IsolateHolder()))
82 , m_stringCache(adoptPtr(new StringCache(isolate()))) 82 , m_stringCache(adoptPtr(new StringCache(isolate())))
83 , m_hiddenValue(adoptPtr(new V8HiddenValue())) 83 , m_hiddenValue(V8HiddenValue::create())
84 , m_constructorMode(ConstructorMode::CreateNewObject) 84 , m_constructorMode(ConstructorMode::CreateNewObject)
85 , m_recursionLevel(0) 85 , m_recursionLevel(0)
86 , m_isHandlingRecursionLevelError(false) 86 , m_isHandlingRecursionLevelError(false)
87 , m_isReportingException(false) 87 , m_isReportingException(false)
88 #if ENABLE(ASSERT) 88 #if ENABLE(ASSERT)
89 , m_internalScriptRecursionLevel(0) 89 , m_internalScriptRecursionLevel(0)
90 #endif 90 #endif
91 , m_performingMicrotaskCheckpoint(false) 91 , m_performingMicrotaskCheckpoint(false)
92 , m_scriptDebugger(nullptr) 92 , m_scriptDebugger(nullptr)
93 { 93 {
(...skipping 205 matching lines...) Expand 10 before | Expand all | Expand 10 after
299 m_endOfScopeTasks.clear(); 299 m_endOfScopeTasks.clear();
300 } 300 }
301 301
302 void V8PerIsolateData::setScriptDebugger(PassOwnPtr<ScriptDebuggerBase> debugger ) 302 void V8PerIsolateData::setScriptDebugger(PassOwnPtr<ScriptDebuggerBase> debugger )
303 { 303 {
304 ASSERT(!m_scriptDebugger); 304 ASSERT(!m_scriptDebugger);
305 m_scriptDebugger = debugger; 305 m_scriptDebugger = debugger;
306 } 306 }
307 307
308 } // namespace blink 308 } // namespace blink
OLDNEW
« no previous file with comments | « Source/bindings/core/v8/V8PerIsolateData.h ('k') | Source/bindings/core/v8/V8PersistentValueVector.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698