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

Unified Diff: chrome/renderer/safe_browsing/phishing_thumbnailer_browsertest.cc

Issue 11066098: Fix a test which uses the RenderViewTest harness running in unit_test binaries. This gives an asser… (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: fix deps Created 8 years, 2 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 | content/content_tests.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/renderer/safe_browsing/phishing_thumbnailer_browsertest.cc
===================================================================
--- chrome/renderer/safe_browsing/phishing_thumbnailer_browsertest.cc (revision 161126)
+++ chrome/renderer/safe_browsing/phishing_thumbnailer_browsertest.cc (working copy)
@@ -4,7 +4,7 @@
#include "base/basictypes.h"
#include "chrome/renderer/safe_browsing/phishing_thumbnailer.h"
-#include "content/public/test/render_widget_browsertest.h"
+#include "content/public/test/render_widget_test.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "third_party/skia/include/core/SkBitmap.h"
#include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebSize.h"
@@ -19,7 +19,7 @@
protected:
virtual void ResizeAndPaint(const gfx::Size& page_size,
const gfx::Size& desired_size,
- SkBitmap* snapshot) {
+ SkBitmap* snapshot) OVERRIDE {
ASSERT_TRUE(snapshot);
*snapshot = GrabPhishingThumbnail(view_, page_size, desired_size);
EXPECT_FALSE(snapshot->isNull());
« no previous file with comments | « no previous file | content/content_tests.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698