Skip to content

Commit

Permalink
9.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
SomeoneWeird committed Oct 2, 2019
1 parent 7a7c869 commit e23f59c
Show file tree
Hide file tree
Showing 16,112 changed files with 93 additions and 27 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -513,7 +513,17 @@ void GraphicsContext::fillRect(const FloatRect& rect, const Color& color)
else
newRect.setRect(rect);

#if 0 // to avoid a performance issue
Cairo::fillRect(*platformContext(), rect, color, Cairo::ShadowState(state()));
#else
const Cairo::ShadowState& shadowState = Cairo::ShadowState(state());
if (shadowState.isVisible()) {
ShadowBlur shadow({ shadowState.blur, shadowState.blur }, shadowState.offset, shadowState.color, shadowState.ignoreTransforms);
shadow.drawRectShadow(*this, newRect);
}

fillRectWithColor(platformContext()->cr(), newRect.rect(), color);
#endif
}

void GraphicsContext::clip(const FloatRect& rect)
Expand Down Expand Up @@ -1127,7 +1137,24 @@ void GraphicsContext::fillRoundedRect(const FloatRoundedRect& rect, const Color&
if (paintingDisabled())
return;

#if 0 // to avoid a performance issue
Cairo::fillRoundedRect(*platformContext(), rect, color, Cairo::ShadowState(state()));
#else
const Cairo::ShadowState& shadowState = Cairo::ShadowState(state());
if (shadowState.isVisible()) {
ShadowBlur shadow({ shadowState.blur, shadowState.blur }, shadowState.offset, shadowState.color, shadowState.ignoreTransforms);
shadow.drawRectShadow(*this, rect);
}

cairo_t* cr = platformContext()->cr();
cairo_save(cr);
Path path;
path.addRoundedRect(rect);
appendWebCorePathToCairoContext(cr, path);
setSourceRGBAFromColor(cr, color);
cairo_fill(cr);
cairo_restore(cr);
#endif
}

void GraphicsContext::setPlatformShouldAntialias(bool enable)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -148,8 +148,8 @@ bool AuthenticationJar::getWebUserPassword(String url, ProtectionSpaceServerType
// found
servertype = longest->m_serverType;
authscheme = longest->m_authScheme;
user = (info->m_confirmed) ? longest->m_user : longest->m_tmpUser;
passwd = (info->m_confirmed) ? longest->m_passwd : longest->m_tmpPasswd;
user = (longest->m_confirmed) ? longest->m_user : longest->m_tmpUser;
passwd = (longest->m_confirmed) ? longest->m_passwd : longest->m_tmpPasswd;
if (fullpath_longest) {
// hear means longest->m_fullPath is folder
if (fullpath_longest->m_fullPath != fullpath_longest->m_basePath)
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Loading

0 comments on commit e23f59c

Please sign in to comment.