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

Side by Side Diff: third_party/WebKit/Source/bindings/core/v8/V8ScriptRunner.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 25 matching lines...) Expand all
36 #include "core/frame/LocalDOMWindow.h" 36 #include "core/frame/LocalDOMWindow.h"
37 #include "core/frame/LocalFrame.h" 37 #include "core/frame/LocalFrame.h"
38 #include "core/inspector/InspectorTraceEvents.h" 38 #include "core/inspector/InspectorTraceEvents.h"
39 #include "core/inspector/ThreadDebugger.h" 39 #include "core/inspector/ThreadDebugger.h"
40 #include "core/loader/resource/ScriptResource.h" 40 #include "core/loader/resource/ScriptResource.h"
41 #include "core/probe/CoreProbes.h" 41 #include "core/probe/CoreProbes.h"
42 #include "platform/Histogram.h" 42 #include "platform/Histogram.h"
43 #include "platform/ScriptForbiddenScope.h" 43 #include "platform/ScriptForbiddenScope.h"
44 #include "platform/instrumentation/tracing/TraceEvent.h" 44 #include "platform/instrumentation/tracing/TraceEvent.h"
45 #include "platform/loader/fetch/CachedMetadata.h" 45 #include "platform/loader/fetch/CachedMetadata.h"
46 #include "platform/wtf/CurrentTime.h"
46 #include "public/platform/Platform.h" 47 #include "public/platform/Platform.h"
47 #include "wtf/CurrentTime.h"
48 48
49 #if OS(WIN) 49 #if OS(WIN)
50 #include <malloc.h> 50 #include <malloc.h>
51 #else 51 #else
52 #include <alloca.h> 52 #include <alloca.h>
53 #endif 53 #endif
54 54
55 namespace blink { 55 namespace blink {
56 56
57 namespace { 57 namespace {
(...skipping 661 matching lines...) Expand 10 before | Expand all | Expand 10 after
719 v8AtomicString(isolate, "((e) => { throw e; })"), origin) 719 v8AtomicString(isolate, "((e) => { throw e; })"), origin)
720 .ToLocalChecked(); 720 .ToLocalChecked();
721 v8::Local<v8::Function> thrower = runCompiledInternalScript(isolate, script) 721 v8::Local<v8::Function> thrower = runCompiledInternalScript(isolate, script)
722 .ToLocalChecked() 722 .ToLocalChecked()
723 .As<v8::Function>(); 723 .As<v8::Function>();
724 v8::Local<v8::Value> args[] = {exception}; 724 v8::Local<v8::Value> args[] = {exception};
725 callInternalFunction(thrower, thrower, WTF_ARRAY_LENGTH(args), args, isolate); 725 callInternalFunction(thrower, thrower, WTF_ARRAY_LENGTH(args), args, isolate);
726 } 726 }
727 727
728 } // namespace blink 728 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698