diff options
author | halcanary <halcanary@google.com> | 2016-03-29 09:03:52 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-03-29 09:03:53 -0700 |
commit | 9d524f22bfde5dc3dc8f48e1be39bdebd3bb0304 (patch) | |
tree | fc75ea6f8bc83b552d9ac9c9b4ac0d5a967ee5ac /src/gpu/GrAuditTrail.cpp | |
parent | e577693b3be06d90c824538e7eac0b25b0e02a99 (diff) |
Style bikeshed - remove extraneous whitespace
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1842753002
Review URL: https://codereview.chromium.org/1842753002
Diffstat (limited to 'src/gpu/GrAuditTrail.cpp')
-rw-r--r-- | src/gpu/GrAuditTrail.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/gpu/GrAuditTrail.cpp b/src/gpu/GrAuditTrail.cpp index 353d90183c..82dc7f713f 100644 --- a/src/gpu/GrAuditTrail.cpp +++ b/src/gpu/GrAuditTrail.cpp @@ -19,11 +19,11 @@ void GrAuditTrail::addBatch(const GrBatch* batch) { auditBatch->fClientID = kGrAuditTrailInvalidID; auditBatch->fBatchListID = kGrAuditTrailInvalidID; auditBatch->fChildID = kGrAuditTrailInvalidID; - + // consume the current stack trace if any auditBatch->fStackTrace = fCurrentStackTrace; fCurrentStackTrace.reset(); - + if (fClientID != kGrAuditTrailInvalidID) { auditBatch->fClientID = fClientID; Batches** batchesLookup = fClientIDLookup.find(fClientID); @@ -70,13 +70,13 @@ void GrAuditTrail::batchingResultCombined(const GrBatch* consumer, const GrBatch // steal all of consumed's batches for (int i = 0; i < consumedBatch.fChildren.count(); i++) { Batch* childBatch = consumedBatch.fChildren[i]; - + // set the ids for the child batch childBatch->fBatchListID = index; childBatch->fChildID = consumerBatch.fChildren.count(); consumerBatch.fChildren.push_back(childBatch); } - + // Update the bounds for the combineWith node consumerBatch.fBounds = consumer->bounds(); @@ -116,7 +116,7 @@ void GrAuditTrail::getBoundsByClientID(SkTArray<BatchInfo>* outInfo, int clientI if (kGrAuditTrailInvalidID == currentBatchListID || batch->fBatchListID != currentBatchListID) { BatchInfo& outBatchInfo = outInfo->push_back(); - + // copy out all of the batches so the client can display them even if // they have a different clientID this->copyOutFromBatchList(&outBatchInfo, batch->fBatchListID); |