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

Unified Diff: src/debug-agent.cc

Issue 101763003: Replace 'operator*' with explicit 'get' method on SmartPointer (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Reupload to make rietveld happy Created 7 years 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/d8-debug.cc ('k') | src/deoptimizer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/debug-agent.cc
diff --git a/src/debug-agent.cc b/src/debug-agent.cc
index 51823aaf24c41a7ae9e5681489399d61149ca0ed..d3d22c9133c22f3e8f82ce42ef2ae14f87bdd744 100644
--- a/src/debug-agent.cc
+++ b/src/debug-agent.cc
@@ -192,7 +192,7 @@ void DebuggerAgent::OnSessionClosed(DebuggerAgentSession* session) {
void DebuggerAgentSession::Run() {
// Send the hello message.
- bool ok = DebuggerAgentUtil::SendConnectMessage(client_, *agent_->name_);
+ bool ok = DebuggerAgentUtil::SendConnectMessage(client_, agent_->name_.get());
if (!ok) return;
while (true) {
@@ -200,7 +200,7 @@ void DebuggerAgentSession::Run() {
SmartArrayPointer<char> message =
DebuggerAgentUtil::ReceiveMessage(client_);
- const char* msg = *message;
+ const char* msg = message.get();
bool is_closing_session = (msg == NULL);
if (msg == NULL) {
« no previous file with comments | « src/d8-debug.cc ('k') | src/deoptimizer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698