Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(58)

Unified Diff: core/fxge/ge/cfx_renderdevice.cpp

Issue 2608663003: Pdfium Patch to restore PS Path (Closed)
Patch Set: Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « core/fxge/cfx_windowsdevice.h ('k') | core/fxge/win32/fx_ge_ps.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: core/fxge/ge/cfx_renderdevice.cpp
diff --git a/core/fxge/ge/cfx_renderdevice.cpp b/core/fxge/ge/cfx_renderdevice.cpp
index 9c67a7d1e791991c815e768fbd5282acd05ceda4..0e047916d87e60fc2d1b6883002e580c180fb32b 100644
--- a/core/fxge/ge/cfx_renderdevice.cpp
+++ b/core/fxge/ge/cfx_renderdevice.cpp
@@ -456,8 +456,11 @@ bool CFX_RenderDevice::SetClip_Rect(const FX_RECT& rect) {
}
void CFX_RenderDevice::UpdateClipBox() {
- if (m_pDeviceDriver->GetClipBox(&m_ClipBox))
+ if (m_pDeviceDriver->GetClipBox(&m_ClipBox)) {
+ m_Width = m_ClipBox.right;
+ m_Height = m_ClipBox.top;
return;
+ }
m_ClipBox.left = 0;
m_ClipBox.top = 0;
m_ClipBox.right = m_Width;
« no previous file with comments | « core/fxge/cfx_windowsdevice.h ('k') | core/fxge/win32/fx_ge_ps.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698