summaryrefslogtreecommitdiffstats
path: root/layout/generic
diff options
context:
space:
mode:
authorwolfbeast <mcwerewolf@wolfbeast.com>2019-02-03 08:34:51 +0100
committerwolfbeast <mcwerewolf@wolfbeast.com>2019-02-03 08:34:51 +0100
commit23f587278abc939b5499e51863e3e63619be8a95 (patch)
tree94d51331f38585695339742e26c0b1498d32abaf /layout/generic
parent9a8a050294414a7d248a4ec872744b43e1b9bfb1 (diff)
parent4874970d329943e08bcca7c61e7b7d2bc0f7c9d3 (diff)
downloadUXP-23f587278abc939b5499e51863e3e63619be8a95.tar
UXP-23f587278abc939b5499e51863e3e63619be8a95.tar.gz
UXP-23f587278abc939b5499e51863e3e63619be8a95.tar.lz
UXP-23f587278abc939b5499e51863e3e63619be8a95.tar.xz
UXP-23f587278abc939b5499e51863e3e63619be8a95.zip
Merge branch 'master' of https://github.com/MoonchildProductions/UXP
Diffstat (limited to 'layout/generic')
-rw-r--r--layout/generic/nsTextFrame.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/layout/generic/nsTextFrame.cpp b/layout/generic/nsTextFrame.cpp
index fa31443fd..3288d3f2e 100644
--- a/layout/generic/nsTextFrame.cpp
+++ b/layout/generic/nsTextFrame.cpp
@@ -6715,7 +6715,7 @@ ShouldDrawSelection(const nsIFrame* aFrame)
const nsStyleBackground* bg = aFrame->StyleContext()->StyleBackground();
const nsStyleImageLayers& layers = bg->mImage;
NS_FOR_VISIBLE_IMAGE_LAYERS_BACK_TO_FRONT(i, layers) {
- if (layers.mLayers[i].mClip == NS_STYLE_IMAGELAYER_CLIP_TEXT) {
+ if (layers.mLayers[i].mClip == StyleGeometryBox::Text) {
return false;
}
}