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

Issue 798563005: Simplify the internals of HTMLStyleElement. (Closed)

Created:
6 years ago by esprehn
Modified:
6 years ago
Reviewers:
ojan
CC:
ojan, abarth-chromium, mojo-reviews_chromium.org
Base URL:
git@github.com:domokit/mojo.git@master
Target Ref:
refs/heads/master
Project:
mojo
Visibility:
Public.

Description

Simplify the internals of HTMLStyleElement. addStyleSheetCandidateNode already checks inDocument(), so we can remove that check. We can also merge processStyleSheet, process and createSheet I also removed the print media query check, and inlined clearDocumentData into the destructor. R=ojan@chromium.org Committed: https://chromium.googlesource.com/external/mojo/+/59145288bae55b0fce4276b017df6a1117bcf00f

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+19 lines, -43 lines) Patch
M sky/engine/core/html/HTMLStyleElement.h View 1 chunk +0 lines, -4 lines 0 comments Download
M sky/engine/core/html/HTMLStyleElement.cpp View 5 chunks +19 lines, -39 lines 0 comments Download

Messages

Total messages: 3 (0 generated)
esprehn
6 years ago (2014-12-12 03:40:32 UTC) #1
ojan
lgtm
6 years ago (2014-12-12 03:43:25 UTC) #2
esprehn
6 years ago (2014-12-12 21:14:18 UTC) #3
Message was sent while issue was closed.
Committed patchset #1 (id:1) manually as
59145288bae55b0fce4276b017df6a1117bcf00f (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698