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

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

Issue 2804753005: Rewrite references to "wtf/" to "platform/wtf/" in bindings. (Closed)
Patch Set: Created 3 years, 8 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 18 matching lines...) Expand all
29 29
30 #include "bindings/core/v8/DOMDataStore.h" 30 #include "bindings/core/v8/DOMDataStore.h"
31 #include "bindings/core/v8/ScriptSourceCode.h" 31 #include "bindings/core/v8/ScriptSourceCode.h"
32 #include "bindings/core/v8/V8Binding.h" 32 #include "bindings/core/v8/V8Binding.h"
33 #include "bindings/core/v8/V8HiddenValue.h" 33 #include "bindings/core/v8/V8HiddenValue.h"
34 #include "bindings/core/v8/V8ObjectConstructor.h" 34 #include "bindings/core/v8/V8ObjectConstructor.h"
35 #include "bindings/core/v8/V8PrivateProperty.h" 35 #include "bindings/core/v8/V8PrivateProperty.h"
36 #include "bindings/core/v8/V8ScriptRunner.h" 36 #include "bindings/core/v8/V8ScriptRunner.h"
37 #include "bindings/core/v8/V8ValueCache.h" 37 #include "bindings/core/v8/V8ValueCache.h"
38 #include "platform/ScriptForbiddenScope.h" 38 #include "platform/ScriptForbiddenScope.h"
39 #include "platform/wtf/LeakAnnotations.h"
40 #include "platform/wtf/PtrUtil.h"
39 #include "public/platform/Platform.h" 41 #include "public/platform/Platform.h"
40 #include "v8/include/v8-debug.h" 42 #include "v8/include/v8-debug.h"
41 #include "wtf/LeakAnnotations.h"
42 #include "wtf/PtrUtil.h"
43 43
44 namespace blink { 44 namespace blink {
45 45
46 static V8PerIsolateData* mainThreadPerIsolateData = 0; 46 static V8PerIsolateData* mainThreadPerIsolateData = 0;
47 47
48 static void beforeCallEnteredCallback(v8::Isolate* isolate) { 48 static void beforeCallEnteredCallback(v8::Isolate* isolate) {
49 RELEASE_ASSERT(!ScriptForbiddenScope::isScriptForbidden()); 49 RELEASE_ASSERT(!ScriptForbiddenScope::isScriptForbidden());
50 } 50 }
51 51
52 static void microtasksCompletedCallback(v8::Isolate* isolate) { 52 static void microtasksCompletedCallback(v8::Isolate* isolate) {
(...skipping 260 matching lines...) Expand 10 before | Expand all | Expand 10 after
313 ScriptWrappableVisitor* current = currentVisitor(); 313 ScriptWrappableVisitor* current = currentVisitor();
314 if (current) 314 if (current)
315 current->performCleanup(); 315 current->performCleanup();
316 316
317 V8PerIsolateData::from(m_isolate)->m_scriptWrappableVisitor.swap( 317 V8PerIsolateData::from(m_isolate)->m_scriptWrappableVisitor.swap(
318 m_savedVisitor); 318 m_savedVisitor);
319 m_isolate->SetEmbedderHeapTracer(currentVisitor()); 319 m_isolate->SetEmbedderHeapTracer(currentVisitor());
320 } 320 }
321 321
322 } // namespace blink 322 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698