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

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

Issue 1112793002: Removing blink::prefix (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fixing buildIssues Created 5 years, 7 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
« no previous file with comments | « Source/bindings/core/v8/V8Initializer.cpp ('k') | Source/bindings/core/v8/V8ScriptRunner.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 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
43 static V8PerIsolateData* mainThreadPerIsolateData = 0; 43 static V8PerIsolateData* mainThreadPerIsolateData = 0;
44 44
45 #if ENABLE(ASSERT) 45 #if ENABLE(ASSERT)
46 static void assertV8RecursionScope() 46 static void assertV8RecursionScope()
47 { 47 {
48 ASSERT(V8RecursionScope::properlyUsed(v8::Isolate::GetCurrent())); 48 ASSERT(V8RecursionScope::properlyUsed(v8::Isolate::GetCurrent()));
49 } 49 }
50 50
51 static bool runningUnitTest() 51 static bool runningUnitTest()
52 { 52 {
53 return blink::Platform::current()->unitTestSupport(); 53 return Platform::current()->unitTestSupport();
54 } 54 }
55 #endif 55 #endif
56 56
57 static void useCounterCallback(v8::Isolate* isolate, v8::Isolate::UseCounterFeat ure feature) 57 static void useCounterCallback(v8::Isolate* isolate, v8::Isolate::UseCounterFeat ure feature)
58 { 58 {
59 switch (feature) { 59 switch (feature) {
60 case v8::Isolate::kUseAsm: 60 case v8::Isolate::kUseAsm:
61 UseCounter::count(callingExecutionContext(isolate), UseCounter::UseAsm); 61 UseCounter::count(callingExecutionContext(isolate), UseCounter::UseAsm);
62 break; 62 break;
63 case v8::Isolate::kBreakIterator: 63 case v8::Isolate::kBreakIterator:
(...skipping 213 matching lines...) Expand 10 before | Expand all | Expand 10 after
277 m_endOfScopeTasks.clear(); 277 m_endOfScopeTasks.clear();
278 } 278 }
279 279
280 void V8PerIsolateData::setScriptDebugServer(PassOwnPtrWillBeRawPtr<ScriptDebugSe rver> server) 280 void V8PerIsolateData::setScriptDebugServer(PassOwnPtrWillBeRawPtr<ScriptDebugSe rver> server)
281 { 281 {
282 ASSERT(!m_debugServer); 282 ASSERT(!m_debugServer);
283 m_debugServer = server; 283 m_debugServer = server;
284 } 284 }
285 285
286 } // namespace blink 286 } // namespace blink
OLDNEW
« no previous file with comments | « Source/bindings/core/v8/V8Initializer.cpp ('k') | Source/bindings/core/v8/V8ScriptRunner.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698