Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Convert a parameter to PassRefPtr
https://bugs.webkit.org/show_bug.cgi?id=128327

Patch by Joseph Pecoraro <pecoraro@apple.com> on 2014-02-06
Reviewed by Timothy Hatcher.

* inspector/InspectorConsoleInstrumentation.h:
(WebCore::InspectorInstrumentation::addProfile):
* inspector/InspectorInstrumentation.h:

Canonical link: https://commits.webkit.org/146346@main
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@163565 268f45cc-cd09-0410-ab3c-d52691b4dbfc
  • Loading branch information
JosephPecoraro authored and webkit-commit-queue committed Feb 6, 2014
1 parent cfe66d9 commit c6abb2a
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 2 deletions.
11 changes: 11 additions & 0 deletions Source/WebCore/ChangeLog
@@ -1,3 +1,14 @@
2014-02-06 Joseph Pecoraro <pecoraro@apple.com>

Convert a parameter to PassRefPtr
https://bugs.webkit.org/show_bug.cgi?id=128327

Reviewed by Timothy Hatcher.

* inspector/InspectorConsoleInstrumentation.h:
(WebCore::InspectorInstrumentation::addProfile):
* inspector/InspectorInstrumentation.h:

2014-01-30 Oliver Hunt <oliver@apple.com>

Push DOM attributes into the prototype chain
Expand Down
2 changes: 1 addition & 1 deletion Source/WebCore/inspector/InspectorConsoleInstrumentation.h
Expand Up @@ -187,7 +187,7 @@ inline void InspectorInstrumentation::addStartProfilingMessageToConsole(Page* pa
#endif
}

inline void InspectorInstrumentation::addProfile(Page* page, RefPtr<ScriptProfile> profile, PassRefPtr<ScriptCallStack> callStack)
inline void InspectorInstrumentation::addProfile(Page* page, PassRefPtr<ScriptProfile> profile, PassRefPtr<ScriptCallStack> callStack)
{
#if ENABLE(INSPECTOR)
if (InstrumentingAgents* instrumentingAgents = instrumentingAgentsForPage(page))
Expand Down
2 changes: 1 addition & 1 deletion Source/WebCore/inspector/InspectorInstrumentation.h
Expand Up @@ -222,7 +222,7 @@ class InspectorInstrumentation {
static void didFireAnimationFrame(const InspectorInstrumentationCookie&);

static void addStartProfilingMessageToConsole(Page*, const String& title, unsigned lineNumber, unsigned columnNumber, const String& sourceURL);
static void addProfile(Page*, RefPtr<ScriptProfile>, PassRefPtr<ScriptCallStack>);
static void addProfile(Page*, PassRefPtr<ScriptProfile>, PassRefPtr<ScriptCallStack>);
static String getCurrentUserInitiatedProfileName(Page*, bool incrementProfileNumber);
static bool profilerEnabled(Page*);

Expand Down

0 comments on commit c6abb2a

Please sign in to comment.