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

Side by Side Diff: third_party/WebKit/Source/bindings/core/v8/V8Binding.h

Issue 1609943003: Make platform/heap to use USING_FAST_MALLOC. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 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 | « no previous file | third_party/WebKit/Source/core/fetch/WebCacheMemoryDumpProvider.h » ('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 * Copyright (C) 2012 Ericsson AB. All rights reserved. 3 * Copyright (C) 2012 Ericsson AB. All rights reserved.
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are 6 * modification, are permitted provided that the following conditions are
7 * met: 7 * met:
8 * 8 *
9 * * Redistributions of source code must retain the above copyright 9 * * Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer. 10 * notice, this list of conditions and the following disclaimer.
(...skipping 1012 matching lines...) Expand 10 before | Expand all | Expand 10 after
1023 CORE_EXPORT void moveEventListenerToNewWrapper(v8::Isolate*, v8::Local<v8::Objec t>, EventListener* oldValue, v8::Local<v8::Value> newValue, int cacheIndex); 1023 CORE_EXPORT void moveEventListenerToNewWrapper(v8::Isolate*, v8::Local<v8::Objec t>, EventListener* oldValue, v8::Local<v8::Value> newValue, int cacheIndex);
1024 1024
1025 // Result values for platform object 'deleter' methods, 1025 // Result values for platform object 'deleter' methods,
1026 // http://www.w3.org/TR/WebIDL/#delete 1026 // http://www.w3.org/TR/WebIDL/#delete
1027 enum DeleteResult { 1027 enum DeleteResult {
1028 DeleteSuccess, 1028 DeleteSuccess,
1029 DeleteReject, 1029 DeleteReject,
1030 DeleteUnknownProperty 1030 DeleteUnknownProperty
1031 }; 1031 };
1032 1032
1033 class V8IsolateInterruptor : public BlinkGCInterruptor { 1033 class V8IsolateInterruptor final : public BlinkGCInterruptor {
1034 USING_FAST_MALLOC(V8IsolateInterruptor);
1035 public: 1034 public:
1036 explicit V8IsolateInterruptor(v8::Isolate* isolate) 1035 explicit V8IsolateInterruptor(v8::Isolate* isolate)
1037 : m_isolate(isolate) 1036 : m_isolate(isolate)
1038 { 1037 {
1039 } 1038 }
1040 1039
1041 static void onInterruptCallback(v8::Isolate* isolate, void* data) 1040 static void onInterruptCallback(v8::Isolate* isolate, void* data)
1042 { 1041 {
1043 V8IsolateInterruptor* interruptor = reinterpret_cast<V8IsolateInterrupto r*>(data); 1042 V8IsolateInterruptor* interruptor = reinterpret_cast<V8IsolateInterrupto r*>(data);
1044 interruptor->onInterrupted(); 1043 interruptor->onInterrupted();
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
1111 1110
1112 template <size_t N> 1111 template <size_t N>
1113 v8::Local<v8::Value> v8CallExtraOrCrash(ScriptState* scriptState, const char* na me, v8::Local<v8::Value>(&args)[N]) 1112 v8::Local<v8::Value> v8CallExtraOrCrash(ScriptState* scriptState, const char* na me, v8::Local<v8::Value>(&args)[N])
1114 { 1113 {
1115 return v8CallOrCrash(v8CallExtraHelper(scriptState, name, N, args)); 1114 return v8CallOrCrash(v8CallExtraHelper(scriptState, name, N, args));
1116 } 1115 }
1117 1116
1118 } // namespace blink 1117 } // namespace blink
1119 1118
1120 #endif // V8Binding_h 1119 #endif // V8Binding_h
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/fetch/WebCacheMemoryDumpProvider.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698