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

Side by Side Diff: Source/core/inspector/InspectorInspectorAgent.cpp

Issue 170603003: Use nullptr_t for RefPtr, PassRefPtr and RawPtr. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Final rebase Created 6 years, 10 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2007, 2008, 2009, 2010 Apple Inc. All rights reserved. 2 * Copyright (C) 2007, 2008, 2009, 2010 Apple Inc. All rights reserved.
3 * Copyright (C) 2008 Matt Lilek <webkit@mattlilek.com> 3 * Copyright (C) 2008 Matt Lilek <webkit@mattlilek.com>
4 * Copyright (C) 2011 Google Inc. All rights reserved. 4 * Copyright (C) 2011 Google Inc. All rights reserved.
5 * 5 *
6 * Redistribution and use in source and binary forms, with or without 6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions 7 * modification, are permitted provided that the following conditions
8 * are met: 8 * are met:
9 * 9 *
10 * 1. Redistributions of source code must retain the above copyright 10 * 1. Redistributions of source code must retain the above copyright
(...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after
151 151
152 void InspectorInspectorAgent::setInjectedScriptForOrigin(const String& origin, c onst String& source) 152 void InspectorInspectorAgent::setInjectedScriptForOrigin(const String& origin, c onst String& source)
153 { 153 {
154 m_injectedScriptForOrigin.set(origin, source); 154 m_injectedScriptForOrigin.set(origin, source);
155 } 155 }
156 156
157 void InspectorInspectorAgent::inspect(PassRefPtr<TypeBuilder::Runtime::RemoteObj ect> objectToInspect, PassRefPtr<JSONObject> hints) 157 void InspectorInspectorAgent::inspect(PassRefPtr<TypeBuilder::Runtime::RemoteObj ect> objectToInspect, PassRefPtr<JSONObject> hints)
158 { 158 {
159 if (m_state->getBoolean(InspectorAgentState::inspectorAgentEnabled) && m_fro ntend) { 159 if (m_state->getBoolean(InspectorAgentState::inspectorAgentEnabled) && m_fro ntend) {
160 m_frontend->inspector()->inspect(objectToInspect, hints); 160 m_frontend->inspector()->inspect(objectToInspect, hints);
161 m_pendingInspectData.first = 0; 161 m_pendingInspectData.first = nullptr;
162 m_pendingInspectData.second = 0; 162 m_pendingInspectData.second = nullptr;
163 return; 163 return;
164 } 164 }
165 m_pendingInspectData.first = objectToInspect; 165 m_pendingInspectData.first = objectToInspect;
166 m_pendingInspectData.second = hints; 166 m_pendingInspectData.second = hints;
167 } 167 }
168 168
169 } // namespace WebCore 169 } // namespace WebCore
OLDNEW
« no previous file with comments | « Source/core/inspector/InspectorDebuggerAgent.cpp ('k') | Source/core/inspector/InspectorInstrumentation.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698