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

Side by Side Diff: Source/bindings/v8/ScriptCallStackFactory.h

Issue 23788005: Remove calls to HandleScope default ctor. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: code review (pfeldman) Created 7 years, 3 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 | Annotate | Revision Log
« no previous file with comments | « Source/bindings/v8/NPV8Object.cpp ('k') | Source/bindings/v8/ScriptCallStackFactory.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) 2010 Google Inc. All rights reserved. 2 * Copyright (c) 2010 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 are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 29 matching lines...) Expand all
40 class ScriptArguments; 40 class ScriptArguments;
41 class ScriptCallStack; 41 class ScriptCallStack;
42 class ScriptState; 42 class ScriptState;
43 43
44 const v8::StackTrace::StackTraceOptions stackTraceOptions = static_cast<v8::Stac kTrace::StackTraceOptions>( 44 const v8::StackTrace::StackTraceOptions stackTraceOptions = static_cast<v8::Stac kTrace::StackTraceOptions>(
45 v8::StackTrace::kLineNumber 45 v8::StackTrace::kLineNumber
46 | v8::StackTrace::kColumnOffset 46 | v8::StackTrace::kColumnOffset
47 | v8::StackTrace::kScriptNameOrSourceURL 47 | v8::StackTrace::kScriptNameOrSourceURL
48 | v8::StackTrace::kFunctionName); 48 | v8::StackTrace::kFunctionName);
49 49
50 PassRefPtr<ScriptCallStack> createScriptCallStack(v8::Handle<v8::StackTrace>, si ze_t maxStackSize); 50 PassRefPtr<ScriptCallStack> createScriptCallStack(v8::Handle<v8::StackTrace>, si ze_t maxStackSize, v8::Isolate*);
51 PassRefPtr<ScriptCallStack> createScriptCallStack(size_t maxStackSize, bool empt yStackIsAllowed = false); 51 PassRefPtr<ScriptCallStack> createScriptCallStack(size_t maxStackSize, bool empt yStackIsAllowed = false);
52 PassRefPtr<ScriptCallStack> createScriptCallStackForConsole(size_t maxStackSize = ScriptCallStack::maxCallStackSizeToCapture); 52 PassRefPtr<ScriptCallStack> createScriptCallStackForConsole(size_t maxStackSize = ScriptCallStack::maxCallStackSizeToCapture);
53 PassRefPtr<ScriptArguments> createScriptArguments(const v8::FunctionCallbackInfo <v8::Value>& v8arguments, unsigned skipArgumentCount); 53 PassRefPtr<ScriptArguments> createScriptArguments(const v8::FunctionCallbackInfo <v8::Value>& v8arguments, unsigned skipArgumentCount);
54 54
55 // This is just an alias to 'createScriptCallStackForConsole();' for compat with JSC. 55 // This is just an alias to 'createScriptCallStackForConsole();' for compat with JSC.
56 PassRefPtr<ScriptCallStack> createScriptCallStackForConsole(ScriptState*); 56 PassRefPtr<ScriptCallStack> createScriptCallStackForConsole(ScriptState*);
57 PassRefPtr<ScriptCallStack> createScriptCallStack(ScriptState*, size_t maxStackS ize = ScriptCallStack::maxCallStackSizeToCapture); 57 PassRefPtr<ScriptCallStack> createScriptCallStack(ScriptState*, size_t maxStackS ize = ScriptCallStack::maxCallStackSizeToCapture);
58 58
59 } // namespace WebCore 59 } // namespace WebCore
60 60
61 #endif // ScriptCallStackFactory_h 61 #endif // ScriptCallStackFactory_h
OLDNEW
« no previous file with comments | « Source/bindings/v8/NPV8Object.cpp ('k') | Source/bindings/v8/ScriptCallStackFactory.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698