Rename default -> initial style and use singletons.

Default style is normally referred to the style after UA style has been
applied. Renamed to 'initial' in the cases where we really mean initial
style to avoid confusion.

Made initial style construction singletons by making the methods in
LayoutStyle and SVGLayoutStyle private. There were a couple of places
where extra copies were created unnecessarily.

R=leviw@chromium.org

Review URL: https://codereview.chromium.org/1001833002

git-svn-id: svn://svn.chromium.org/blink/trunk@191795 bbb929c8-8fbe-4397-9dbb-9b2b20218538
9 files changed
tree: 0165f2eb0811bf28e793b516c214159bae20bf9d
  1. third_party/