Bug 914889 - Remove noisy LogFunction call in MetroWidget's GetDPI(). r=bbondy
authorJim Mathies <jmathies@mozilla.com>
Wed, 11 Sep 2013 06:59:41 -0700
changeset 159604 bdf495121827fb5a7de36b3cf9896c1da7652151
parent 159603 4be36d56d323c513874c19c6e1827cf067394cbd
child 159605 a98569f21abe10fc486631e4ad40e20999ea5d25
push id2961
push userlsblakk@mozilla.com
push dateMon, 28 Oct 2013 21:59:28 +0000
treeherdermozilla-beta@73ef4f13486f [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbbondy
bugs914889
milestone26.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 914889 - Remove noisy LogFunction call in MetroWidget's GetDPI(). r=bbondy
widget/windows/winrt/MetroWidget.cpp
--- a/widget/windows/winrt/MetroWidget.cpp
+++ b/widget/windows/winrt/MetroWidget.cpp
@@ -1246,17 +1246,16 @@ MetroWidget::CSSIntPointToLayoutDeviceIn
   double scale = GetDefaultScale();
   LayoutDeviceIntPoint devPx(int32_t(NS_round(scale * aCSSPoint.x)),
                              int32_t(NS_round(scale * aCSSPoint.y)));
   return devPx;
 }
 
 float MetroWidget::GetDPI()
 {
-  LogFunction();
   if (!mView) {
     return 96.0;
   }
   return mView->GetDPI();
 }
 
 void MetroWidget::ChangedDPI()
 {