Title: [98644] trunk/Source/WebCore
Revision
98644
Author
t...@chromium.org
Date
2011-10-27 14:56:57 -0700 (Thu, 27 Oct 2011)

Log Message

Fix a compiler warning caught by gcc 4.6.1. Need to return something.

* platform/graphics/chromium/cc/CCSchedulerStateMachine.cpp:
(WebCore::CCSchedulerStateMachine::nextAction):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (98643 => 98644)


--- trunk/Source/WebCore/ChangeLog	2011-10-27 21:54:11 UTC (rev 98643)
+++ trunk/Source/WebCore/ChangeLog	2011-10-27 21:56:57 UTC (rev 98644)
@@ -1,3 +1,10 @@
+2011-10-27  Tony Chang  <t...@chromium.org>
+
+        Fix a compiler warning caught by gcc 4.6.1. Need to return something.
+
+        * platform/graphics/chromium/cc/CCSchedulerStateMachine.cpp:
+        (WebCore::CCSchedulerStateMachine::nextAction):
+
 2011-10-27  Vsevolod Vlasov  <vse...@chromium.org>
 
         Web Inspector: Advanced search style fixes.

Modified: trunk/Source/WebCore/platform/graphics/chromium/cc/CCSchedulerStateMachine.cpp (98643 => 98644)


--- trunk/Source/WebCore/platform/graphics/chromium/cc/CCSchedulerStateMachine.cpp	2011-10-27 21:54:11 UTC (rev 98643)
+++ trunk/Source/WebCore/platform/graphics/chromium/cc/CCSchedulerStateMachine.cpp	2011-10-27 21:56:57 UTC (rev 98644)
@@ -59,6 +59,8 @@
     case COMMIT_STATE_READY_TO_COMMIT:
         return ACTION_COMMIT;
     }
+    ASSERT_NOT_REACHED();
+    return ACTION_NONE;
 }
 
 void CCSchedulerStateMachine::updateState(Action action)
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to