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

Unified Diff: chrome/browser/extensions/extension_function.h

Issue 100213: use EXTENSION_FUNCTION_VALIDATE (Closed)
Patch Set: final CR change Created 11 years, 8 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
« no previous file with comments | « no previous file | chrome/browser/extensions/extension_tabs_module.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/extensions/extension_function.h
diff --git a/chrome/browser/extensions/extension_function.h b/chrome/browser/extensions/extension_function.h
index 2c460eb3bf5144bb598854969dece3837c582a21..af1fc6e8e0c3d104b5388d2b541e39bbb09844f8 100644
--- a/chrome/browser/extensions/extension_function.h
+++ b/chrome/browser/extensions/extension_function.h
@@ -14,7 +14,7 @@ class ExtensionFunctionDispatcher;
class Profile;
#define EXTENSION_FUNCTION_VALIDATE(test) do { \
- if (!test) { \
+ if (!(test)) { \
bad_message_ = true; \
return false; \
} \
« no previous file with comments | « no previous file | chrome/browser/extensions/extension_tabs_module.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698