Index: content/renderer/pepper/pepper_url_request_unittest.cc |
diff --git a/content/renderer/pepper/pepper_url_request_unittest.cc b/content/renderer/pepper/pepper_url_request_unittest.cc |
index 44936c287bee968b84dd60432b6a5f3cca373806..b5de4b0afc49e34dd68eb3f39bd3d0353456c62f 100644 |
--- a/content/renderer/pepper/pepper_url_request_unittest.cc |
+++ b/content/renderer/pepper/pepper_url_request_unittest.cc |
@@ -53,7 +53,9 @@ namespace content { |
class URLRequestInfoTest : public RenderViewTest { |
public: |
- URLRequestInfoTest() : pp_instance_(1234) {} |
+ // Note: using -1 as the instance value allows code in |
+ // url_request_info_util.cc to detect that this is a test instance. |
+ URLRequestInfoTest() : pp_instance_(-1) {} |
virtual void SetUp() OVERRIDE { |
RenderViewTest::SetUp(); |