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

Unified Diff: Source/platform/transforms/TransformationMatrix.h

Issue 1027513003: Avoid uninitialized memory when decomposing a matrix fails. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 9 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 | « Source/platform/transforms/RotateTransformOperation.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/platform/transforms/TransformationMatrix.h
diff --git a/Source/platform/transforms/TransformationMatrix.h b/Source/platform/transforms/TransformationMatrix.h
index ba3b92482f362db25eb69b56a4f0116d86bd8e0c..3a9a0bd387c493a8448c822666747f585349ffcb 100644
--- a/Source/platform/transforms/TransformationMatrix.h
+++ b/Source/platform/transforms/TransformationMatrix.h
@@ -254,8 +254,8 @@ public:
double perspectiveX, perspectiveY, perspectiveZ, perspectiveW;
} DecomposedType;
- bool decompose(DecomposedType& decomp) const;
- void recompose(const DecomposedType& decomp);
+ bool decompose(DecomposedType&) const WARN_UNUSED_RETURN;
+ void recompose(const DecomposedType&);
void blend(const TransformationMatrix& from, double progress);
« no previous file with comments | « Source/platform/transforms/RotateTransformOperation.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698