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

Unified Diff: chrome/browser/debugger/debugger_remote_service.cc

Issue 7661009: base: Add Is* functions to Value class. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix nat_policy.cc Created 9 years, 4 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/debugger/debugger_remote_service.cc
diff --git a/chrome/browser/debugger/debugger_remote_service.cc b/chrome/browser/debugger/debugger_remote_service.cc
index a93084fc1f5b42922393cf7c2caa448318071f2b..96d426aa3495211adada659fbfba82bd6e1c2922 100644
--- a/chrome/browser/debugger/debugger_remote_service.cc
+++ b/chrome/browser/debugger/debugger_remote_service.cc
@@ -65,7 +65,7 @@ void DebuggerRemoteService::HandleMessage(
return;
}
DictionaryValue* content;
- if (!request->IsType(Value::TYPE_DICTIONARY)) {
+ if (!request->IsDictionary()) {
NOTREACHED(); // Broken protocol :(
return;
}

Powered by Google App Engine
This is Rietveld 408576698