| Index: ppapi/cpp/rect.cc
|
| diff --git a/ppapi/cpp/rect.cc b/ppapi/cpp/rect.cc
|
| index 39d8018b38bddbdaf1f366498fb9082b52f7fdf5..1e9ff05236b3d41dec29efb0b73b90b77cfd3e80 100644
|
| --- a/ppapi/cpp/rect.cc
|
| +++ b/ppapi/cpp/rect.cc
|
| @@ -89,14 +89,14 @@ Rect Rect::Subtract(const Rect& rect) const {
|
| int32_t rb = bottom();
|
|
|
| if (rect.y() <= y() && rect.bottom() >= bottom()) {
|
| - // complete int32_tersection in the y-direction
|
| + // complete intersection in the y-direction
|
| if (rect.x() <= x()) {
|
| rx = rect.right();
|
| } else {
|
| rr = rect.x();
|
| }
|
| } else if (rect.x() <= x() && rect.right() >= right()) {
|
| - // complete int32_tersection in the x-direction
|
| + // complete intersection in the x-direction
|
| if (rect.y() <= y()) {
|
| ry = rect.bottom();
|
| } else {
|
|
|