| Index: trunk/src/content/renderer/dom_serializer_browsertest.cc
|
| ===================================================================
|
| --- trunk/src/content/renderer/dom_serializer_browsertest.cc (revision 241158)
|
| +++ trunk/src/content/renderer/dom_serializer_browsertest.cc (working copy)
|
| @@ -51,13 +51,6 @@
|
| using blink::WebView;
|
| using blink::WebVector;
|
|
|
| -namespace {
|
| -
|
| -// The first RenderFrame is routing ID 1, and the first RenderView is 2.
|
| -const int kRenderViewRoutingId = 2;
|
| -
|
| -}
|
| -
|
| namespace content {
|
|
|
| // Iterate recursively over sub-frames to find one with with a given url.
|
| @@ -230,7 +223,7 @@
|
| RenderView* GetRenderView() {
|
| // We could have the test on the UI thread get the WebContent's routing ID,
|
| // but we know this will be the first RV so skip that and just hardcode it.
|
| - return RenderView::FromRoutingID(kRenderViewRoutingId);
|
| + return RenderView::FromRoutingID(1);
|
| }
|
|
|
| WebView* GetWebView() {
|
|
|