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

Issue 203633003: DevTools: cleanup InspectorStyleSheet (Closed)

Created:
6 years, 9 months ago by lushnikov
Modified:
6 years, 9 months ago
Reviewers:
apavlov, vsevik
CC:
blink-reviews, caseq+blink_chromium.org, loislo+blink_chromium.org, eustas+blink_chromium.org, alph+blink_chromium.org, yurys+blink_chromium.org, lushnikov+blink_chromium.org, vsevik+blink_chromium.org, pfeldman+blink_chromium.org, paulirish+reviews_chromium.org, apavlov+blink_chromium.org, devtools-reviews_chromium.org, aandrey+blink_chromium.org
Visibility:
Public.

Description

DevTools: cleanup InspectorStyleSheet This patch cleans up InspectorStyleSheet after the InspectorStyleSheet and InspectorStyleSheetForInlineStyle implementations were separated. It does the following changes: - remove InspectorStyleSheet.checkPageStyleSheet as it is never used - inline InspectorStyleSheet.ruleIndexByRule - inline method InspectorStyleSheet.ruleIdByStyle into InspectorStyleSheet.styleId - introduce single implementation for lineEndings in InspectorStyleSheetBase - eliminate method InspectorStyleSheetBase.reparsestyleSheet BUG=341506 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=169574

Patch Set 1 #

Total comments: 2

Patch Set 2 : rebaseline #

Patch Set 3 : rebaseline #

Unified diffs Side-by-side diffs Delta from patch set Stats (+31 lines, -71 lines) Patch
M Source/core/inspector/InspectorCSSAgent.cpp View 1 1 chunk +2 lines, -10 lines 0 comments Download
M Source/core/inspector/InspectorStyleSheet.h View 1 2 7 chunks +3 lines, -11 lines 0 comments Download
M Source/core/inspector/InspectorStyleSheet.cpp View 1 2 14 chunks +26 lines, -50 lines 0 comments Download

Messages

Total messages: 18 (0 generated)
lushnikov
Please, take a look
6 years, 9 months ago (2014-03-18 17:43:18 UTC) #1
vsevik
lgtm https://codereview.chromium.org/203633003/diff/1/Source/core/inspector/InspectorStyleSheet.cpp File Source/core/inspector/InspectorStyleSheet.cpp (right): https://codereview.chromium.org/203633003/diff/1/Source/core/inspector/InspectorStyleSheet.cpp#newcode1502 Source/core/inspector/InspectorStyleSheet.cpp:1502: exceptionState.throwDOMException(SyntaxError, "Style sheet text is invalid."); This could ...
6 years, 9 months ago (2014-03-19 08:26:52 UTC) #2
lushnikov
Thank you for the review https://codereview.chromium.org/203633003/diff/1/Source/core/inspector/InspectorStyleSheet.cpp File Source/core/inspector/InspectorStyleSheet.cpp (right): https://codereview.chromium.org/203633003/diff/1/Source/core/inspector/InspectorStyleSheet.cpp#newcode1502 Source/core/inspector/InspectorStyleSheet.cpp:1502: exceptionState.throwDOMException(SyntaxError, "Style sheet text ...
6 years, 9 months ago (2014-03-19 08:57:37 UTC) #3
lushnikov
The CQ bit was checked by lushnikov@chromium.org
6 years, 9 months ago (2014-03-19 14:47:01 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/lushnikov@chromium.org/203633003/20001
6 years, 9 months ago (2014-03-19 14:47:14 UTC) #5
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-03-19 14:50:59 UTC) #6
commit-bot: I haz the power
Try jobs failed on following builders: tryserver.blink on linux_blink_dbg
6 years, 9 months ago (2014-03-19 14:50:59 UTC) #7
lushnikov
The CQ bit was checked by lushnikov@chromium.org
6 years, 9 months ago (2014-03-19 14:59:56 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/lushnikov@chromium.org/203633003/20001
6 years, 9 months ago (2014-03-19 14:59:57 UTC) #9
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-03-19 16:04:49 UTC) #10
commit-bot: I haz the power
Try jobs failed on following builders: tryserver.blink on linux_blink_dbg
6 years, 9 months ago (2014-03-19 16:04:50 UTC) #11
lushnikov
The CQ bit was checked by lushnikov@chromium.org
6 years, 9 months ago (2014-03-19 16:35:01 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/lushnikov@chromium.org/203633003/20001
6 years, 9 months ago (2014-03-19 16:35:05 UTC) #13
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-03-19 16:35:13 UTC) #14
commit-bot: I haz the power
Failed to apply patch for Source/core/inspector/InspectorStyleSheet.h: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
6 years, 9 months ago (2014-03-19 16:35:13 UTC) #15
lushnikov
The CQ bit was checked by lushnikov@chromium.org
6 years, 9 months ago (2014-03-19 18:11:57 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/lushnikov@chromium.org/203633003/40001
6 years, 9 months ago (2014-03-19 18:12:04 UTC) #17
commit-bot: I haz the power
6 years, 9 months ago (2014-03-19 19:20:54 UTC) #18
Message was sent while issue was closed.
Change committed as 169574

Powered by Google App Engine
This is Rietveld 408576698