Chromium Code Reviews
DescriptionAdd Double{Size, Point, Rect} pretty printers for logging and testing
This patch unifies the pretty printers for DoubleSize, DoublePoint,
and DoubleRect with the approach used for LayoutRect, FloatRect, etc.
For example, to print the value of a DoubleRect:
DoubleRect rect(1, 2, 3, 4);
LOG(INFO) << "rect: " << rect;
Which prints:
rect: "1,2 3x4"
BUG=632096
Committed: https://crrev.com/543079b35d7fedda30a4bc17c286038a71c81307
Cr-Commit-Position: refs/heads/master@{#413569}
Patch Set 1 #Patch Set 2 : Rebase and update #Patch Set 3 : Remove unnecessary String casts #Messages
Total messages: 25 (17 generated)
|