Title: [119534] trunk/Source/WebCore
Revision
119534
Author
[email protected]
Date
2012-06-05 17:05:46 -0700 (Tue, 05 Jun 2012)

Log Message

Build fix after r119527.

* dom/ViewportArguments.cpp:
(WebCore::computeViewportAttributes):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (119533 => 119534)


--- trunk/Source/WebCore/ChangeLog	2012-06-05 23:12:19 UTC (rev 119533)
+++ trunk/Source/WebCore/ChangeLog	2012-06-06 00:05:46 UTC (rev 119534)
@@ -1,3 +1,10 @@
+2012-06-05  Ryosuke Niwa  <[email protected]>
+
+        Build fix after r119527.
+
+        * dom/ViewportArguments.cpp:
+        (WebCore::computeViewportAttributes):
+
 2012-06-05  Martin Robinson  <[email protected]>
 
         [Cairo] [OpenGL] Enable GL_OES_standard_derivatives

Modified: trunk/Source/WebCore/dom/ViewportArguments.cpp (119533 => 119534)


--- trunk/Source/WebCore/dom/ViewportArguments.cpp	2012-06-05 23:12:19 UTC (rev 119533)
+++ trunk/Source/WebCore/dom/ViewportArguments.cpp	2012-06-06 00:05:46 UTC (rev 119534)
@@ -54,17 +54,6 @@
 
     ASSERT(availableWidth > 0 && availableHeight > 0);
 
-    float autoDPI = deviceDPI;
-
-    switch (args.type) {
-    case ViewportArguments::Implicit:
-        autoDPI = deviceDPI;
-        break;
-    case ViewportArguments::ViewportMeta:
-        autoDPI = targetDPI;
-        break;
-    }
-
     result.devicePixelRatio = deviceDPI / targetDPI;
 
     // Resolve non-'auto' width and height to pixel values.
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to