Bug 1404137 - Fix unified-build problem in TextOverflow.cpp r=botond,Gankro
authorMarkus Stange <mstange@themasta.com>
Fri, 29 Sep 2017 17:56:48 -0400
changeset 434597 8d962eca03289141abf5b72fecfd5f7f3ce72879
parent 434596 2fcda941d95489fea8247a22cdeb0840e249766e
child 434598 59e5ec5729db9ee88c1b469f3ae0092fcedc8c44
push id8114
push userjlorenzo@mozilla.com
push dateThu, 02 Nov 2017 16:33:21 +0000
treeherdermozilla-beta@73e0d89a540f [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbotond, Gankro
bugs1404137
milestone58.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1404137 - Fix unified-build problem in TextOverflow.cpp r=botond,Gankro MozReview-Commit-ID: GuJp2rHuHXj
layout/generic/TextOverflow.cpp
--- a/layout/generic/TextOverflow.cpp
+++ b/layout/generic/TextOverflow.cpp
@@ -21,16 +21,18 @@
 #include "nsRect.h"
 #include "nsTextFrame.h"
 #include "nsIFrameInlines.h"
 #include "mozilla/ArrayUtils.h"
 #include "mozilla/Likely.h"
 #include "nsISelection.h"
 #include "TextDrawTarget.h"
 
+using mozilla::layout::TextDrawTarget;
+
 namespace mozilla {
 namespace css {
 
 class LazyReferenceRenderingDrawTargetGetterFromFrame final :
     public gfxFontGroup::LazyReferenceDrawTargetGetter {
 public:
   typedef mozilla::gfx::DrawTarget DrawTarget;