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

Unified Diff: dm/DMGpuGMTask.cpp

Issue 553583004: Remove expectations / -r from DM entirely. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: rebase Created 6 years, 3 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 | « dm/DMGpuGMTask.h ('k') | dm/DMPDFRasterizeTask.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: dm/DMGpuGMTask.cpp
diff --git a/dm/DMGpuGMTask.cpp b/dm/DMGpuGMTask.cpp
index 4c44fae970315a3ce71744660c44a0706a671f66..63c96490371b08f938f23f6fc6e7ac776151e116 100644
--- a/dm/DMGpuGMTask.cpp
+++ b/dm/DMGpuGMTask.cpp
@@ -1,6 +1,5 @@
#include "DMGpuGMTask.h"
-#include "DMExpectationsTask.h"
#include "DMUtil.h"
#include "DMWriteTask.h"
#include "SkCommandLineFlags.h"
@@ -13,14 +12,12 @@ GpuGMTask::GpuGMTask(const char* config,
Reporter* reporter,
TaskRunner* taskRunner,
skiagm::GMRegistry::Factory gmFactory,
- const Expectations& expectations,
GrContextFactory::GLContextType contextType,
GrGLStandard gpuAPI,
int sampleCount)
: GpuTask(reporter, taskRunner)
, fGM(gmFactory(NULL))
, fName(UnderJoin(fGM->getName(), config))
- , fExpectations(expectations)
, fContextType(contextType)
, fGpuAPI(gpuAPI)
, fSampleCount(sampleCount)
@@ -47,7 +44,6 @@ void GpuGMTask::draw(GrContextFactory* grFactory) {
bitmap.setInfo(info);
canvas->readPixels(&bitmap, 0, 0);
- this->spawnChild(SkNEW_ARGS(ExpectationsTask, (*this, fExpectations, bitmap)));
this->spawnChild(SkNEW_ARGS(WriteTask, (*this, bitmap)));
}
« no previous file with comments | « dm/DMGpuGMTask.h ('k') | dm/DMPDFRasterizeTask.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698