Index: chrome/browser/debugger/devtools_remote_service.cc |
diff --git a/chrome/browser/debugger/devtools_remote_service.cc b/chrome/browser/debugger/devtools_remote_service.cc |
index 329e1a8b0cb9a6f9b800bf8344e041bc18e147a4..5868f474413ad29985c26691d2015ba170741170 100644 |
--- a/chrome/browser/debugger/devtools_remote_service.cc |
+++ b/chrome/browser/debugger/devtools_remote_service.cc |
@@ -46,7 +46,7 @@ void DevToolsRemoteService::HandleMessage( |
return; |
} |
DictionaryValue* json; |
- if (request->IsType(Value::TYPE_DICTIONARY)) { |
+ if (request->IsDictionary()) { |
json = static_cast<DictionaryValue*>(request.get()); |
if (!json->HasKey(kCommandKey)) { |
NOTREACHED(); // Broken protocol - no "command" specified |