Index: chrome/renderer/render_view_browsertest.cc |
diff --git a/chrome/renderer/render_view_browsertest.cc b/chrome/renderer/render_view_browsertest.cc |
index 51303e407d36173a6f6b3e0f0ff175a0f8268c0f..ad145e7b13a9ff9773ab1b9895b80242fbab5fd4 100644 |
--- a/chrome/renderer/render_view_browsertest.cc |
+++ b/chrome/renderer/render_view_browsertest.cc |
@@ -676,7 +676,7 @@ TEST_F(RenderViewTest, OnHandleKeyboardEvent) { |
// We format a string that emulates a DOM-event string produced hy |
// our JavaScript function. (See the above comment for the format.) |
static char expected_result[1024]; |
- expected_result[0] = NULL; |
+ expected_result[0] = 0; |
base::snprintf(&expected_result[0], |
sizeof(expected_result), |
"\n" // texts in the <input> element |