matrix is a struct so it cant be null

This commit is contained in:
JanEggers
2014-06-12 21:04:07 +02:00
parent 048af5e8ad
commit b2a17e965d
+4 -7
View File
@@ -558,13 +558,10 @@ namespace CefSharp.Wpf
private void CheckIsNonStandardDpi()
{
if (matrix != null) // make sure it's connected
{
dpiTransform = new ScaleTransform(
1 / matrix.M11,
1 / matrix.M22
);
}
dpiTransform = new ScaleTransform(
1 / matrix.M11,
1 / matrix.M22
);
}
private void AddSourceHookIfNotAlreadyPresent()