Index: core/fxge/ge/cfx_graphstatedata.cpp |
diff --git a/core/fxge/ge/fx_ge_path.cpp b/core/fxge/ge/cfx_graphstatedata.cpp |
similarity index 88% |
rename from core/fxge/ge/fx_ge_path.cpp |
rename to core/fxge/ge/cfx_graphstatedata.cpp |
index e0e30b88704b3e6cfeef98f07a52975b925c4b95..0a5b5e301c4e9ee1009469519d10c68d5494bea3 100644 |
--- a/core/fxge/ge/fx_ge_path.cpp |
+++ b/core/fxge/ge/cfx_graphstatedata.cpp |
@@ -1,11 +1,13 @@ |
-// Copyright 2014 PDFium Authors. All rights reserved. |
+// Copyright 2016 PDFium Authors. All rights reserved. |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com |
+#include "core/fxge/include/cfx_graphstatedata.h" |
+ |
+#include "core/fxcrt/include/fx_memory.h" |
#include "core/fxcrt/include/fx_system.h" |
-#include "core/fxge/include/fx_ge.h" |
CFX_GraphStateData::CFX_GraphStateData() |
: m_LineCap(LineCapButt), |
@@ -44,8 +46,7 @@ void CFX_GraphStateData::SetDashCount(int count) { |
FX_Free(m_DashArray); |
m_DashArray = nullptr; |
m_DashCount = count; |
- if (count == 0) { |
+ if (count == 0) |
return; |
- } |
m_DashArray = FX_Alloc(FX_FLOAT, count); |
} |