)]}'
{
  "commit": "20ee1baa69715365e53d12ffb0e9d05d8dc0eda6",
  "tree": "45f72675481ee2596081c94410762a92419dae8e",
  "parents": [
    "b572f072cdffa554098f54cd5f0b0d542abe27d0"
  ],
  "author": {
    "name": "Leon Scroggins III",
    "email": "scroggo@google.com",
    "time": "Tue Jul 15 16:04:55 2014 -0400"
  },
  "committer": {
    "name": "Leon Scroggins III",
    "email": "scroggo@google.com",
    "time": "Tue Jul 15 16:04:55 2014 -0400"
  },
  "message": "Change SkCanvasState to use inheritance.\n\nCherry-pick from master.\n\nThe base class, SkCanvasState, now holds the version, width, and\nheight. These fields will always be a necessary part of the class.\n(Also add in some padding.)\nThe other fields, which may change, have been moved into the\nsubclass, SkCanvasState_v1. If/when the version changes, it will\ncorrespond to a new subclass.\nIn SkCanvasStateUtils::CreateFromCanvasState, check the version on\nthe base class, then do a static_cast to the version corresponding\nto SkCanvasState::version.\n\nRemove CANVAS_STATE_VERSION, which is redundant with the version\nspecified by the subclass.\n\nUse unambiguous type for rowBytes.\n\nBuild Android with SK_SUPPORT_LEGACY_CLIPTOLAYERFLAG. This allows us\nto run the full suite of CanvasState tests. It is also representative\nof what will be used on Android by WebView.\n\nFix CanvasStateTest where it was broken inside ifdef\u0027ed out code.\n\nUse SkCanvas::getBaseLayerSize() instead of the deprecated\nSkCanvas::getDeviceSize().\n\nUpdate the comments in the header to be more clear. In particular,\nan SkCanvasState can only be used to pass an SkCanvas\u0027 state to a\nfuture version of Skia (or the same); not an older version.\n\nNOTREECHECKS\u003dtrue\n\nBUG\u003db/15693384\nR\u003dreed@google.com, djsollen@google.com, mtklein@google.com\n\nAuthor: scroggo@google.com\n\nReview URL: https://codereview.chromium.org/372003002\n\nReview URL: https://codereview.chromium.org/396763002\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "f8266c9b324ce753d5087300cc2b89360b8fad18",
      "old_mode": 33188,
      "old_path": "include/utils/SkCanvasStateUtils.h",
      "new_id": "6ea7b10307439ab285d2a97e1a13a51dbf77c697",
      "new_mode": 33188,
      "new_path": "include/utils/SkCanvasStateUtils.h"
    },
    {
      "type": "modify",
      "old_id": "eaee61b5e829a6534c87f0180b7f4c1856e7a7b0",
      "old_mode": 33188,
      "old_path": "src/utils/SkCanvasStateUtils.cpp",
      "new_id": "e286c9138fd0c07d868d41c9da7fa28dd0db318f",
      "new_mode": 33188,
      "new_path": "src/utils/SkCanvasStateUtils.cpp"
    }
  ]
}
